[SCSI] allow sleeping in ->eh_bus_reset_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
@@ -753,8 +753,6 @@ qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd)
|
||||
qla_printk(KERN_INFO, ha,
|
||||
"scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun);
|
||||
|
||||
spin_unlock_irq(ha->host->host_lock);
|
||||
|
||||
if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) {
|
||||
DEBUG2(printk("%s failed:board disabled\n",__func__));
|
||||
goto eh_bus_reset_done;
|
||||
@@ -776,8 +774,6 @@ eh_bus_reset_done:
|
||||
qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__,
|
||||
(ret == FAILED) ? "failed" : "succeded");
|
||||
|
||||
spin_lock_irq(ha->host->host_lock);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user