-db
%UATTACH
diff -r -u linux-2.1.100-1/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
--- linux-2.1.100-1/drivers/scsi/scsi.c\011Tue Apr 28 21:58:58 1998
+++ linux/drivers/scsi/scsi.c\011Mon May 4 11:31:36 1998
@@ -1605,6 +1605,7 @@
if( SCpnt == NULL )
return;
+ spin_lock_irqsave(&io_request_lock, flags);
atomic_inc(&recursion_depth);
SCnext = SCpnt->bh_next;
@@ -1696,6 +1697,7 @@
} /* for(; SCpnt...) */
atomic_dec(&recursion_depth);
+ spin_unlock_irqrestore(&io_request_lock, flags);
} /* while(1==1) */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu