[SCSI] qla2xxx: Check for SCSI status on underruns.
Signed-off-by: Arun Easi <arun.easi@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
ad537689c3
commit
4e85e3d92f
|
@ -1741,7 +1741,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
|
||||||
resid, scsi_bufflen(cp));
|
resid, scsi_bufflen(cp));
|
||||||
|
|
||||||
cp->result = DID_ERROR << 16 | lscsi_status;
|
cp->result = DID_ERROR << 16 | lscsi_status;
|
||||||
break;
|
goto check_scsi_status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!lscsi_status &&
|
if (!lscsi_status &&
|
||||||
|
|
Loading…
Reference in New Issue