summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-09 07:41:58 +0100
committerDan Williams <dan.j.williams@intel.com>2012-05-17 23:33:40 +0200
commite3c84dfdb8f4c675b0ba5cf3fa252dc4056b7ddd (patch)
treed7c7216ccd4740f41a926cd467d101e7a01339ff /drivers/scsi/isci
parentisci: Distinguish between remote device suspension cases (diff)
downloadlinux-e3c84dfdb8f4c675b0ba5cf3fa252dc4056b7ddd.tar.xz
linux-e3c84dfdb8f4c675b0ba5cf3fa252dc4056b7ddd.zip
isci: Fix the terminated I/O to not call sas_task_abort().
This addresses a regression from the commit "isci: Redesign device suspension, abort, cleanup." in which the sas_task end condition for terminated I/Os was made to call back on sas_task_abort()". This commit will be rolled into the original. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci')
-rw-r--r--drivers/scsi/isci/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 48b409d68c0d..809d3683d0c9 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -2832,7 +2832,7 @@ static void isci_request_io_request_complete(struct isci_host *ihost,
__func__, request, task);
/* The request was terminated explicitly. */
- clear_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
+ set_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
response = SAS_TASK_UNDELIVERED;
/* See if the device has been/is being stopped. Note