6925496 kernel panic in ata_wait when opening sound-juicer application (intermittent)
authorRamesh Chitrothu <Ramesh.Chitrothu@Sun.COM>
Tue, 25 May 2010 10:25:56 -0700
changeset 12491 76a3fb5f5d5c
parent 12490 7bae494c02d3
child 12492 56723f2186c6
6925496 kernel panic in ata_wait when opening sound-juicer application (intermittent)
usr/src/uts/common/io/scsi/targets/sd.c
--- a/usr/src/uts/common/io/scsi/targets/sd.c	Tue May 25 02:07:17 2010 -0700
+++ b/usr/src/uts/common/io/scsi/targets/sd.c	Tue May 25 10:25:56 2010 -0700
@@ -10288,7 +10288,7 @@
 	 * event when the lun is not opened in NDELAY mode. The event handler
 	 * should open the lun in NDELAY mode.
 	 */
-	if (!(flag & FNDELAY)) {
+	if (!nodelay) {
 		mutex_exit(SD_MUTEX(un));
 		if (cmlb_efi_label_capacity(un->un_cmlbhandle, &label_cap,
 		    (void*)SD_PATH_DIRECT) == 0) {