Date: Thu, 30 Oct 2008 13:10:33 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org Subject: svn commit: r184468 - in stable/6/sys: . dev/ata Message-ID: <200810301310.m9UDAXm0052162@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810301310.m9UDAXm0052162>