2002-10-08 19:13:42

by Alan Cox

[permalink] [raw]
Subject: PATCH: wd7000 lock error Willy noticed

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/scsi/wd7000.c linux.2.5.41-ac1/drivers/scsi/wd7000.c
--- linux.2.5.41/drivers/scsi/wd7000.c 2002-10-07 22:12:26.000000000 +0100
+++ linux.2.5.41-ac1/drivers/scsi/wd7000.c 2002-10-07 14:45:34.000000000 +0100
@@ -877,7 +877,6 @@
*/
if (freescbs < needed) {
printk (KERN_ERR "wd7000: can't get enough free SCBs.\n");
- spin_unlock_irq(host->host_lock);
return (NULL);
}
}