aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index a8c06c4451c0..4bf2f9feb59a 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -2000,7 +2000,7 @@ static int srp_abort(struct scsi_cmnd *scmnd)
2000 shost_printk(KERN_ERR, target->scsi_host, "SRP abort called\n"); 2000 shost_printk(KERN_ERR, target->scsi_host, "SRP abort called\n");
2001 2001
2002 if (!req || !srp_claim_req(target, req, scmnd)) 2002 if (!req || !srp_claim_req(target, req, scmnd))
2003 return FAILED; 2003 return SUCCESS;
2004 if (srp_send_tsk_mgmt(target, req->index, scmnd->device->lun, 2004 if (srp_send_tsk_mgmt(target, req->index, scmnd->device->lun,
2005 SRP_TSK_ABORT_TASK) == 0) 2005 SRP_TSK_ABORT_TASK) == 0)
2006 ret = SUCCESS; 2006 ret = SUCCESS;