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

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

diff -u --recursive --new-file v2.1.86/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -685,7 +685,7 @@
 #define INIT_SCSI_REQUEST       \
     if (!CURRENT) {             \
 	CLEAR_INTR;             \
-	restore_flags(flags);	\
+	spin_unlock_irqrestore(&current_lock,flags);	\
 	return;                 \
     }                           \
     if (MAJOR(CURRENT->rq_dev) != MAJOR_NR)           \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov