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

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

diff -u --recursive --new-file v2.1.87/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -15,6 +15,8 @@
 #ifndef _SCSI_H
 #define _SCSI_H
 
+#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */
+
 /*
  * Some of the public constants are being moved to this file.
  * We include it here so that what came from where is transparent.
@@ -685,7 +687,7 @@
 #define INIT_SCSI_REQUEST       \
     if (!CURRENT) {             \
 	CLEAR_INTR;             \
-	spin_unlock_irqrestore(&current_lock,flags);	\
+	spin_unlock_irqrestore(&io_request_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