aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
authorMaciej Patelczyk <maciej.patelczyk@intel.com>2011-04-28 22:06:31 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:00:38 -0700
commit890cae9b8a7defd87feb1ec77a2affd25bd59cce (patch)
tree245b896a777355216c49f9cb5b6a97c1764d7730 /drivers/scsi/isci/task.c
parentaf23e85737253624cde84704008be40355ff6922 (diff)
isci: Removed sci_base_object from scic_sds_request.
The 'struct sci_base_object' was removed from the struct scic_sds_request and was replaced by a pointer to struct isci_request. Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r--drivers/scsi/isci/task.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index c0ed1b28f3e..95f38672321 100644
--- a/drivers/scsi/isci/task.c
+++ b/drivers/scsi/isci/task.c
@@ -63,7 +63,7 @@
#include "request.h"
#include "sata.h"
#include "task.h"
-
+#include "core/scic_sds_request.h"
/**
* isci_task_refuse() - complete the request to the upper layer driver in
* the case where an I/O needs to be completed back in the submit path.
@@ -314,10 +314,7 @@ static enum sci_status isci_task_request_build(
goto errout;
}
- sci_object_set_association(
- request->sci_request_handle,
- request
- );
+ request->sci_request_handle->ireq = request;
/* XXX convert to get this from task->tproto like other drivers */
if (dev->dev_type == SAS_END_DEV) {