diff options
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
| -rw-r--r-- | drivers/scsi/aacraid/linit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index de8490a92831..a1f9ceef0ac9 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
| @@ -453,9 +453,9 @@ static int aac_eh_reset(struct scsi_cmnd* cmd) | |||
| 453 | /* | 453 | /* |
| 454 | * We can exit If all the commands are complete | 454 | * We can exit If all the commands are complete |
| 455 | */ | 455 | */ |
| 456 | spin_unlock_irq(host->host_lock); | ||
| 456 | if (active == 0) | 457 | if (active == 0) |
| 457 | return SUCCESS; | 458 | return SUCCESS; |
| 458 | spin_unlock_irq(host->host_lock); | ||
| 459 | ssleep(1); | 459 | ssleep(1); |
| 460 | spin_lock_irq(host->host_lock); | 460 | spin_lock_irq(host->host_lock); |
| 461 | } | 461 | } |
