diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:56:31 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:05:10 -0400 |
commit | 68b3aa7c9805aee9005a8ca53c5e99177961fbb9 (patch) | |
tree | 3f28891df0b3a1ecdfe6a98547d8f3c43b74e905 /drivers/message | |
parent | 94d0e7b805961c44e4dc486ffc21075084bb7175 (diff) |
[SCSI] allow sleeping in ->eh_bus_reset_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 82cd9bc3b024..efae9be45370 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -1865,7 +1865,6 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | |||
1865 | hd->timeouts++; | 1865 | hd->timeouts++; |
1866 | 1866 | ||
1867 | /* We are now ready to execute the task management request. */ | 1867 | /* We are now ready to execute the task management request. */ |
1868 | spin_unlock_irq(host_lock); | ||
1869 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS, | 1868 | if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS, |
1870 | SCpnt->device->channel, 0, 0, 0, 5 /* 5 second timeout */) | 1869 | SCpnt->device->channel, 0, 0, 0, 5 /* 5 second timeout */) |
1871 | < 0){ | 1870 | < 0){ |
@@ -1881,7 +1880,7 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt) | |||
1881 | spin_lock_irq(host_lock); | 1880 | spin_lock_irq(host_lock); |
1882 | return FAILED; | 1881 | return FAILED; |
1883 | } | 1882 | } |
1884 | spin_lock_irq(host_lock); | 1883 | |
1885 | return SUCCESS; | 1884 | return SUCCESS; |
1886 | } | 1885 | } |
1887 | 1886 | ||