diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 3302d8068c41..3d04a9f386ac 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -500,7 +500,7 @@ void scsi_device_unbusy(struct scsi_device *sdev) | |||
500 | spin_lock_irqsave(shost->host_lock, flags); | 500 | spin_lock_irqsave(shost->host_lock, flags); |
501 | shost->host_busy--; | 501 | shost->host_busy--; |
502 | if (unlikely(scsi_host_in_recovery(shost) && | 502 | if (unlikely(scsi_host_in_recovery(shost) && |
503 | shost->host_failed)) | 503 | (shost->host_failed || shost->host_eh_scheduled))) |
504 | scsi_eh_wakeup(shost); | 504 | scsi_eh_wakeup(shost); |
505 | spin_unlock(shost->host_lock); | 505 | spin_unlock(shost->host_lock); |
506 | spin_lock(sdev->request_queue->queue_lock); | 506 | spin_lock(sdev->request_queue->queue_lock); |