summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-08 22:41:56 -0800
committerDan Williams <dan.j.williams@intel.com>2012-05-17 14:33:39 -0700
commitaa20d9343079b1f0bebd43dec82ecfd4af5e43da (patch)
tree2e04327fd7625c34fa2732a25763f4119bcfc7f1 /drivers/scsi
parent637325028f3a9e9cf411ede96063997611f976e4 (diff)
downloadlinux-aa20d9343079b1f0bebd43dec82ecfd4af5e43da.tar.gz
linux-aa20d9343079b1f0bebd43dec82ecfd4af5e43da.tar.bz2
linux-aa20d9343079b1f0bebd43dec82ecfd4af5e43da.zip
isci: All pending TCs are terminated when the RNC is invalidated.
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')
-rw-r--r--drivers/scsi/isci/remote_node_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/remote_node_context.c b/drivers/scsi/isci/remote_node_context.c
index 75cf043e2adf..adbb4b80d9e4 100644
--- a/drivers/scsi/isci/remote_node_context.c
+++ b/drivers/scsi/isci/remote_node_context.c
@@ -275,8 +275,8 @@ static void sci_remote_node_context_invalidating_state_enter(struct sci_base_sta
{
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
- /* Terminate outstanding requests pending abort. */
- sci_remote_device_abort_requests_pending_abort(rnc_to_dev(rnc));
+ /* Terminate all outstanding requests. */
+ sci_remote_device_terminate_requests(rnc_to_dev(rnc));
sci_remote_node_context_invalidate_context_buffer(rnc);
}