diff options
Diffstat (limited to 'drivers/infiniband/ulp/srp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index bc13c8db7fc2..1f331011653e 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c | |||
@@ -1754,6 +1754,8 @@ static int srp_abort(struct scsi_cmnd *scmnd) | |||
1754 | SRP_TSK_ABORT_TASK) == 0 || | 1754 | SRP_TSK_ABORT_TASK) == 0 || |
1755 | target->transport_offline) | 1755 | target->transport_offline) |
1756 | ret = SUCCESS; | 1756 | ret = SUCCESS; |
1757 | else if (target->transport_offline) | ||
1758 | ret = FAST_IO_FAIL; | ||
1757 | else | 1759 | else |
1758 | ret = FAILED; | 1760 | ret = FAILED; |
1759 | srp_free_req(target, req, scmnd, 0); | 1761 | srp_free_req(target, req, scmnd, 0); |