summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2012-02-09 11:14:03 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-02-18 08:40:20 -0600
commita55aac79de0ea6fc52d35f535867b6573a5ff0f8 (patch)
treec9388a6b197855e98e01a3c0637c57a12d950deb /drivers/scsi/qla2xxx/qla_os.c
parent6d7938f46f89c9773f9396c1d13b20bbc5c6d95b (diff)
downloadblackbird-op-linux-a55aac79de0ea6fc52d35f535867b6573a5ff0f8.tar.gz
blackbird-op-linux-a55aac79de0ea6fc52d35f535867b6573a5ff0f8.zip
[SCSI] qla2xxx: Propagate up abort failures.
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 4ed1e4a96b95..b4b185c7bad6 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -877,6 +877,7 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
spin_unlock_irqrestore(&ha->hardware_lock, flags);
if (ha->isp_ops->abort_command(sp)) {
+ ret = FAILED;
ql_dbg(ql_dbg_taskm, vha, 0x8003,
"Abort command mbx failed cmd=%p.\n", cmd);
} else {
OpenPOWER on IntegriCloud