PATCH: Fix i2o_scsi hang

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 21 Mar 2003 19:39:04 GMT


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/