[SCSI] qla2xxx: Don't leak SG-DMA mappings while aborting commands.

Original code inadvertently cleared an SRB's 'flags' while
aborting; causing a follow-on scsi_dma_unmap() to be potentially
missed.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by Andrew Vasquez and committed by James Bottomley bed475c4 a7a28504

-2
-2
drivers/scsi/qla2xxx/qla_os.c
··· 1080 sp = ha->outstanding_cmds[cnt]; 1081 if (sp) { 1082 ha->outstanding_cmds[cnt] = NULL; 1083 - sp->flags = 0; 1084 sp->cmd->result = res; 1085 - sp->cmd->host_scribble = (unsigned char *)NULL; 1086 qla2x00_sp_compl(ha, sp); 1087 } 1088 }
··· 1080 sp = ha->outstanding_cmds[cnt]; 1081 if (sp) { 1082 ha->outstanding_cmds[cnt] = NULL; 1083 sp->cmd->result = res; 1084 qla2x00_sp_compl(ha, sp); 1085 } 1086 }