aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-03-24 12:08:04 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:22:47 -0400
commite612d46591e2d4fbc35541377d18ab483c211768 (patch)
treec67827f2e0485f5d640dbd47120a33735d7eb3a6 /drivers/scsi/qla2xxx/qla_os.c
parent55a961581fd34632bf724dd144c0dbf740c9fede (diff)
[SCSI] qla2xxx: Correct abort-semantics in qla2x00_abort_all_cmds().
As all commands queued on the physical HBA should be aborted and returned to the upper-layers. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index dad624e11717..0d586a47c101 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1063,7 +1063,7 @@ qla2x00_abort_all_cmds(scsi_qla_host_t *vha, int res)
1063 continue; 1063 continue;
1064 for (cnt = 1; cnt < MAX_OUTSTANDING_COMMANDS; cnt++) { 1064 for (cnt = 1; cnt < MAX_OUTSTANDING_COMMANDS; cnt++) {
1065 sp = req->outstanding_cmds[cnt]; 1065 sp = req->outstanding_cmds[cnt];
1066 if (sp && sp->fcport->vha == vha) { 1066 if (sp) {
1067 req->outstanding_cmds[cnt] = NULL; 1067 req->outstanding_cmds[cnt] = NULL;
1068 sp->cmd->result = res; 1068 sp->cmd->result = res;
1069 qla2x00_sp_compl(ha, sp); 1069 qla2x00_sp_compl(ha, sp);