[SCSI] allow sleeping in ->eh_host_reset_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Šī revīzija ir iekļauta:
@@ -815,8 +815,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
|
||||
qla_printk(KERN_INFO, ha,
|
||||
"scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun);
|
||||
|
||||
spin_unlock_irq(ha->host->host_lock);
|
||||
|
||||
if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS)
|
||||
goto eh_host_reset_lock;
|
||||
|
||||
@@ -845,8 +843,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
|
||||
ret = SUCCESS;
|
||||
|
||||
eh_host_reset_lock:
|
||||
spin_lock_irq(ha->host->host_lock);
|
||||
|
||||
qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__,
|
||||
(ret == FAILED) ? "failed" : "succeded");
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user