]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Drop pointless tfo->check_stop_free check
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Mar 2017 08:09:59 +0000 (00:09 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 21:42:50 +0000 (14:42 -0700)
commit9c28ca4ff8bad7486182291a55b4f67a70af718d
treedd2051def11c3416ae0f377ee853bdd1c6931e4a
parent13603685c1f12c67a7a2427f00b63f39a2b6f7c9
target: Drop pointless tfo->check_stop_free check

All in-tree fabric drivers provide a tfo->check_stop_free(),
so there is no need to do the extra check within existing
transport_cmd_check_stop_to_fabric() code.

Just to be sure, add a check in target_fabric_tf_ops_check()
to notify any out-of-tree drivers that might be missing it.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c
drivers/target/target_core_transport.c