patch-2.0.12 linux/drivers/scsi/sd.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/hosts.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 9 11:20:56 1996
- Orig file:
v2.0.11/linux/drivers/scsi/sd.c
- Orig date:
Thu Jul 18 14:28:48 1996
diff -u --recursive --new-file v2.0.11/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -490,6 +490,9 @@
if( SDev->removable && !intr_count )
{
scsi_ioctl(SDev, SCSI_IOCTL_DOORLOCK, 0);
+ /* scsi_ioctl may allow CURRENT to change, so start over. */
+ SDev->was_reset = 0;
+ continue;
}
SDev->was_reset = 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov