patch-1.3.78 linux/drivers/scsi/scsi.h

Next file: linux/drivers/scsi/sd_ioctl.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -514,7 +514,7 @@
  * turned off 
  */
 #define INIT_SCSI_REQUEST       \
-    if (!CURRENT) {             \
+    if (!CURRENT || CURRENT_PLUGGED) {     \
 	CLEAR_INTR;             \
 	restore_flags(flags);	\
 	return;                 \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this