aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-01 11:55:16 -0400
committerJiri Kosina <jkosina@suse.cz>2010-04-08 10:38:12 -0400
commit231c91f53e448ebe5c2d3c8ea88115bb49529674 (patch)
treee33a1464022d37fa737aed9acf7b4ffe24551b85 /drivers/scsi
parent00bc42a11b0be6ce34c403ccc1990a6846a90d37 (diff)
wd7000: typo spin_unlock_irq() => spin_lock_irq()
This was introduced back in 2005 at the very start of the git era by: df0ae2497ddefd72a87f3a3b34ff32455d7d4ae0 [SCSI] allow sleeping in ->eh_host_reset_handler() Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/wd7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c
index 2f6e9d8eaf71..bdfe59d7a181 100644
--- a/drivers/scsi/wd7000.c
+++ b/drivers/scsi/wd7000.c
@@ -1588,7 +1588,7 @@ static int wd7000_host_reset(struct scsi_cmnd *SCpnt)
1588{ 1588{
1589 Adapter *host = (Adapter *) SCpnt->device->host->hostdata; 1589 Adapter *host = (Adapter *) SCpnt->device->host->hostdata;
1590 1590
1591 spin_unlock_irq(SCpnt->device->host->host_lock); 1591 spin_lock_irq(SCpnt->device->host->host_lock);
1592 1592
1593 if (wd7000_adapter_reset(host) < 0) { 1593 if (wd7000_adapter_reset(host) < 0) {
1594 spin_unlock_irq(SCpnt->device->host->host_lock); 1594 spin_unlock_irq(SCpnt->device->host->host_lock);