6925496 kernel panic in ata_wait when opening sound-juicer application (intermittent)
--- 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) {