aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/request.c')
-rw-r--r--drivers/scsi/isci/request.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index c88e270b2b40..6cd80bbdae15 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -790,9 +790,9 @@ static void isci_task_save_for_upper_layer_completion(
790{ 790{
791 struct sas_task *task = isci_request_access_task(request); 791 struct sas_task *task = isci_request_access_task(request);
792 792
793 isci_task_set_completion_status(task, response, status, 793 task_notification_selection
794 task_notification_selection); 794 = isci_task_set_completion_status(task, response, status,
795 795 task_notification_selection);
796 796
797 /* Tasks aborted specifically by a call to the lldd_abort_task 797 /* Tasks aborted specifically by a call to the lldd_abort_task
798 * function should not be completed to the host in the regular path. 798 * function should not be completed to the host in the regular path.
@@ -811,6 +811,9 @@ static void isci_task_save_for_upper_layer_completion(
811 /* Add to the completed list. */ 811 /* Add to the completed list. */
812 list_add(&request->completed_node, 812 list_add(&request->completed_node,
813 &host->requests_to_complete); 813 &host->requests_to_complete);
814
815 /* Take the request off the device's pending request list. */
816 list_del_init(&request->dev_node);
814 break; 817 break;
815 818
816 case isci_perform_aborted_io_completion: 819 case isci_perform_aborted_io_completion: