aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-05-28 07:57:14 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-17 13:05:18 -0400
commitdf0ae2497ddefd72a87f3a3b34ff32455d7d4ae0 (patch)
tree552e02a44a21bd38db91729c85219542c2930ae2 /drivers/scsi/qla2xxx
parent68b3aa7c9805aee9005a8ca53c5e99177961fbb9 (diff)
[SCSI] allow sleeping in ->eh_host_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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index e9091f9fbf25..f12a2b6fa7a0 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -815,8 +815,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
815 qla_printk(KERN_INFO, ha, 815 qla_printk(KERN_INFO, ha,
816 "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun); 816 "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun);
817 817
818 spin_unlock_irq(ha->host->host_lock);
819
820 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) 818 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS)
821 goto eh_host_reset_lock; 819 goto eh_host_reset_lock;
822 820
@@ -845,8 +843,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
845 ret = SUCCESS; 843 ret = SUCCESS;
846 844
847eh_host_reset_lock: 845eh_host_reset_lock:
848 spin_lock_irq(ha->host->host_lock);
849
850 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, 846 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__,
851 (ret == FAILED) ? "failed" : "succeded"); 847 (ret == FAILED) ? "failed" : "succeded");
852 848