PATCH: Fix i2o_scsi hang

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 21 2003 - 14:39:04 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/message/i2o/i2o_scsi.c linux-2.5.65-ac2/drivers/message/i2o/i2o_scsi.c
--- linux-2.5.65/drivers/message/i2o/i2o_scsi.c 2003-02-15 03:39:30.000000000 +0000
+++ linux-2.5.65-ac2/drivers/message/i2o/i2o_scsi.c 2003-03-14 01:14:29.000000000 +0000
@@ -85,7 +85,7 @@
 static u32 *retry[32];
 static struct i2o_controller *retry_ctrl[32];
 static struct timer_list retry_timer;
-static spinlock_t retry_lock;
+static spinlock_t retry_lock = SPIN_LOCK_UNLOCKED;
 static int retry_ct = 0;
 
 static atomic_t queue_depth;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:37 EST