diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:56:31 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:05:10 -0400 |
commit | 68b3aa7c9805aee9005a8ca53c5e99177961fbb9 (patch) | |
tree | 3f28891df0b3a1ecdfe6a98547d8f3c43b74e905 /drivers/scsi/qla2xxx | |
parent | 94d0e7b805961c44e4dc486ffc21075084bb7175 (diff) |
[SCSI] allow sleeping in ->eh_bus_reset_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 360974eb2b26..e9091f9fbf25 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -753,8 +753,6 @@ qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd) | |||
753 | qla_printk(KERN_INFO, ha, | 753 | qla_printk(KERN_INFO, ha, |
754 | "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun); | 754 | "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun); |
755 | 755 | ||
756 | spin_unlock_irq(ha->host->host_lock); | ||
757 | |||
758 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { | 756 | if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { |
759 | DEBUG2(printk("%s failed:board disabled\n",__func__)); | 757 | DEBUG2(printk("%s failed:board disabled\n",__func__)); |
760 | goto eh_bus_reset_done; | 758 | goto eh_bus_reset_done; |
@@ -776,8 +774,6 @@ eh_bus_reset_done: | |||
776 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, | 774 | qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, |
777 | (ret == FAILED) ? "failed" : "succeded"); | 775 | (ret == FAILED) ? "failed" : "succeded"); |
778 | 776 | ||
779 | spin_lock_irq(ha->host->host_lock); | ||
780 | |||
781 | return ret; | 777 | return ret; |
782 | } | 778 | } |
783 | 779 | ||