svn commit: r184468 - in stable/6/sys: . dev/ata

Konstantin Belousov kib at FreeBSD.org
Thu Oct 30 06:10:33 PDT 2008


Author: kib
Date: Thu Oct 30 13:10:33 2008
New Revision: 184468
URL: http://svn.freebsd.org/changeset/base/184468

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:
  stable/6/sys/   (props changed)
  stable/6/sys/dev/ata/ata-all.c

Modified: stable/6/sys/dev/ata/ata-all.c
==============================================================================
--- stable/6/sys/dev/ata/ata-all.c	Thu Oct 30 10:13:53 2008	(r184467)
+++ stable/6/sys/dev/ata/ata-all.c	Thu Oct 30 13:10:33 2008	(r184468)
@@ -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