diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:57:14 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:05:18 -0400 |
commit | df0ae2497ddefd72a87f3a3b34ff32455d7d4ae0 (patch) | |
tree | 552e02a44a21bd38db91729c85219542c2930ae2 /drivers/scsi/3w-9xxx.c | |
parent | 68b3aa7c9805aee9005a8ca53c5e99177961fbb9 (diff) |
[SCSI] allow sleeping in ->eh_host_reset_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.c')
-rw-r--r-- | drivers/scsi/3w-9xxx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index a2b18f5a4f93..34dbc37a79d4 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -1695,8 +1695,6 @@ static int twa_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1695 | 1695 | ||
1696 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; | 1696 | tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; |
1697 | 1697 | ||
1698 | spin_unlock_irq(tw_dev->host->host_lock); | ||
1699 | |||
1700 | tw_dev->num_resets++; | 1698 | tw_dev->num_resets++; |
1701 | 1699 | ||
1702 | printk(KERN_WARNING "3w-9xxx: scsi%d: WARNING: (0x%02X:0x%04X): Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, TW_DRIVER, 0x2c, SCpnt->device->id, SCpnt->cmnd[0]); | 1700 | printk(KERN_WARNING "3w-9xxx: scsi%d: WARNING: (0x%02X:0x%04X): Unit #%d: Command (0x%x) timed out, resetting card.\n", tw_dev->host->host_no, TW_DRIVER, 0x2c, SCpnt->device->id, SCpnt->cmnd[0]); |
@@ -1709,7 +1707,6 @@ static int twa_scsi_eh_reset(struct scsi_cmnd *SCpnt) | |||
1709 | 1707 | ||
1710 | retval = SUCCESS; | 1708 | retval = SUCCESS; |
1711 | out: | 1709 | out: |
1712 | spin_lock_irq(tw_dev->host->host_lock); | ||
1713 | return retval; | 1710 | return retval; |
1714 | } /* End twa_scsi_eh_reset() */ | 1711 | } /* End twa_scsi_eh_reset() */ |
1715 | 1712 | ||