]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
target: use transport_cmd_check_stop_to_fabric consistently
authorChristoph Hellwig <hch@infradead.org>
Mon, 17 Oct 2011 17:56:44 +0000 (13:56 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:37 +0000 (03:21 +0000)
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>
drivers/target/target_core_transport.c

index 5fe38e4a502507a50849334422dae70413040f47..0bfef095c98d297ed3a4eb074f30cdc9ed90b3b7 100644 (file)
@@ -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;
 }