]> git.openpandora.org Git - pandora-kernel.git/commitdiff
target: Propigate up ->cmd_kref put return via transport_generic_free_cmd
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 31 May 2013 07:46:11 +0000 (00:46 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 31 May 2013 08:21:23 +0000 (01:21 -0700)
Go ahead and propigate up the ->cmd_kref put return value from
target_put_sess_cmd() -> transport_release_cmd() -> transport_put_cmd()
-> transport_generic_free_cmd().

This is useful for certain fabrics when determining the active I/O
shutdown case with SCF_ACK_KREF where a final target_put_sess_cmd()
is still required by the caller.

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

Simple merge