summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-17 13:56:44 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:21:37 +0000
commitb7b8bef7f8c1c9b3358127608e867db7cd928022 (patch)
tree00649c38974f180008d382f80a7ccbc3db8f6433 /drivers/target
parent3df8d40ba3fea72c35ab092c091b19a599df1e81 (diff)
downloadlwn-b7b8bef7f8c1c9b3358127608e867db7cd928022.tar.gz
lwn-b7b8bef7f8c1c9b3358127608e867db7cd928022.zip
target: use transport_cmd_check_stop_to_fabric consistently
Change one remaining user of transport_cmd_check_stop(cmd, 2, 0) to the transport_cmd_check_stop_to_fabric wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 5fe38e4a5025..0bfef095c98d 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -4752,7 +4752,7 @@ int transport_generic_do_tmr(struct se_cmd *cmd)
cmd->t_state = TRANSPORT_ISTATE_PROCESSING;
cmd->se_tfo->queue_tm_rsp(cmd);
- transport_cmd_check_stop(cmd, 2, 0);
+ transport_cmd_check_stop_to_fabric(cmd);
return 0;
}