diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:54:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:04:55 -0400 |
commit | 8fa728a26886f56a9ee10a44fea0ddda301d21c3 (patch) | |
tree | 105ead5c90057400abae0c8aa9e2b5ba1818c327 /drivers/scsi/ibmvscsi | |
parent | 3471c288036bf0835a82d0b1bbce2002f6e68390 (diff) |
[SCSI] allow sleeping in ->eh_abort_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index e89f76e5dd53..d857842bc45b 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -874,9 +874,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd *cmd) | |||
874 | return FAILED; | 874 | return FAILED; |
875 | } | 875 | } |
876 | 876 | ||
877 | spin_unlock_irq(hostdata->host->host_lock); | ||
878 | wait_for_completion(&evt->comp); | 877 | wait_for_completion(&evt->comp); |
879 | spin_lock_irq(hostdata->host->host_lock); | ||
880 | 878 | ||
881 | /* make sure we got a good response */ | 879 | /* make sure we got a good response */ |
882 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { | 880 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { |