diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.c')
-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 d857842bc45b..d89b8eb3cdf3 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -976,9 +976,7 @@ static int ibmvscsi_eh_device_reset_handler(struct scsi_cmnd *cmd) | |||
976 | return FAILED; | 976 | return FAILED; |
977 | } | 977 | } |
978 | 978 | ||
979 | spin_unlock_irq(hostdata->host->host_lock); | ||
980 | wait_for_completion(&evt->comp); | 979 | wait_for_completion(&evt->comp); |
981 | spin_lock_irq(hostdata->host->host_lock); | ||
982 | 980 | ||
983 | /* make sure we got a good response */ | 981 | /* make sure we got a good response */ |
984 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { | 982 | if (unlikely(srp_rsp.srp.generic.type != SRP_RSP_TYPE)) { |