diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:54:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:04:55 -0400 |
commit | 8fa728a26886f56a9ee10a44fea0ddda301d21c3 (patch) | |
tree | 105ead5c90057400abae0c8aa9e2b5ba1818c327 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 3471c288036bf0835a82d0b1bbce2002f6e68390 (diff) |
[SCSI] allow sleeping in ->eh_abort_handler()
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 7f8d747bd5e5..1693998aa727 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -476,7 +476,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd) | |||
476 | serial = cmd->serial_number; | 476 | serial = cmd->serial_number; |
477 | 477 | ||
478 | /* Check active list for command command. */ | 478 | /* Check active list for command command. */ |
479 | spin_unlock_irq(ha->host->host_lock); | ||
480 | spin_lock(&ha->hardware_lock); | 479 | spin_lock(&ha->hardware_lock); |
481 | for (i = 1; i < MAX_OUTSTANDING_COMMANDS; i++) { | 480 | for (i = 1; i < MAX_OUTSTANDING_COMMANDS; i++) { |
482 | sp = ha->outstanding_cmds[i]; | 481 | sp = ha->outstanding_cmds[i]; |
@@ -516,7 +515,6 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd) | |||
516 | } | 515 | } |
517 | spin_lock(&ha->hardware_lock); | 516 | spin_lock(&ha->hardware_lock); |
518 | } | 517 | } |
519 | spin_lock_irq(ha->host->host_lock); | ||
520 | 518 | ||
521 | qla_printk(KERN_INFO, ha, | 519 | qla_printk(KERN_INFO, ha, |
522 | "scsi(%ld:%d:%d): Abort command issued -- %lx %x.\n", ha->host_no, | 520 | "scsi(%ld:%d:%d): Abort command issued -- %lx %x.\n", ha->host_no, |