svn commit: r184470 - in releng/6.4/sys: . dev/ata
Konstantin Belousov
kib at FreeBSD.org
Thu Oct 30 06:18:28 PDT 2008
Author: kib
Date: Thu Oct 30 13:18:28 2008
New Revision: 184470
URL: http://svn.freebsd.org/changeset/base/184470
Log:
MFC of the r179312 by sos:
Do not call ata_start() when ata_reinit fails in the ioctl path.
Approved by: re (kensmith), sos
Prodded by: Andrey V. Elsukov <bu7cher at yandex.ru>
Modified:
releng/6.4/sys/ (props changed)
releng/6.4/sys/dev/ata/ata-all.c
Modified: releng/6.4/sys/dev/ata/ata-all.c
==============================================================================
--- releng/6.4/sys/dev/ata/ata-all.c Thu Oct 30 13:14:45 2008 (r184469)
+++ releng/6.4/sys/dev/ata/ata-all.c Thu Oct 30 13:18:28 2008 (r184470)
@@ -375,7 +375,6 @@ ata_ioctl(struct cdev *dev, u_long cmd,
!(device = devclass_get_device(ata_devclass, *value)))
return ENXIO;
error = ata_reinit(device);
- ata_start(device);
break;
case IOCATAATTACH:
More information about the svn-src-all
mailing list