From: Jeff Skirvin Date: Fri, 9 Mar 2012 06:41:56 +0000 (-0800) Subject: isci: All pending TCs are terminated when the RNC is invalidated. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa20d9343079b1f0bebd43dec82ecfd4af5e43da;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git isci: All pending TCs are terminated when the RNC is invalidated. Signed-off-by: Jeff Skirvin Signed-off-by: Dan Williams --- 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); }