Loading drivers/scsi/isci/task.h +19 −23 Original line number Diff line number Diff line Loading @@ -306,7 +306,6 @@ isci_task_set_completion_status( * is in the error path. */ if (task->task_state_flags & SAS_TASK_NEED_DEV_RESET) { /* Fail the I/O to make sure it goes into the error path. */ response = SAS_TASK_UNDELIVERED; status = SAM_STAT_TASK_ABORTED; Loading @@ -317,22 +316,19 @@ isci_task_set_completion_status( task->task_status.stat = status; switch (task_notification_selection) { case isci_perform_aborted_io_completion: /* This path can occur with task-managed requests as well as * requests terminated because of LUN or device resets. */ /* Fall through to the normal case... */ case isci_perform_normal_io_completion: /* Normal notification (task_done) */ isci_set_task_doneflags(task); break; default: WARN_ON(FALSE); WARN_ONCE(1, "unknown task_notification_selection: %d\n", task_notification_selection); /* Fall through to the error case... */ case isci_perform_error_io_completion: /* Use sas_task_abort */ /* Leave SAS_TASK_STATE_DONE clear Loading Loading
drivers/scsi/isci/task.h +19 −23 Original line number Diff line number Diff line Loading @@ -306,7 +306,6 @@ isci_task_set_completion_status( * is in the error path. */ if (task->task_state_flags & SAS_TASK_NEED_DEV_RESET) { /* Fail the I/O to make sure it goes into the error path. */ response = SAS_TASK_UNDELIVERED; status = SAM_STAT_TASK_ABORTED; Loading @@ -317,22 +316,19 @@ isci_task_set_completion_status( task->task_status.stat = status; switch (task_notification_selection) { case isci_perform_aborted_io_completion: /* This path can occur with task-managed requests as well as * requests terminated because of LUN or device resets. */ /* Fall through to the normal case... */ case isci_perform_normal_io_completion: /* Normal notification (task_done) */ isci_set_task_doneflags(task); break; default: WARN_ON(FALSE); WARN_ONCE(1, "unknown task_notification_selection: %d\n", task_notification_selection); /* Fall through to the error case... */ case isci_perform_error_io_completion: /* Use sas_task_abort */ /* Leave SAS_TASK_STATE_DONE clear Loading