target: split transport_cmd_check_stop
authorChristoph Hellwig <hch@infradead.org>
Sun, 8 Jul 2012 19:58:38 +0000 (15:58 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:15 +0000 (17:35 -0700)
commitf7113a47e2c3880ed5f8a05ff9c54ead4ee7351c
treeef1098a4177ea24ddc20f9ec81435633636e08e5
parente85276871978614723830684096f7e44903963b3
target: split transport_cmd_check_stop

Inline the transport_off == 0 case into target_execute_cmd to simplify
the function for the remaining cases.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c