summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_tpg.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-02-26 22:22:10 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2012-03-10 14:41:53 -0800
commit41ac82b668177876d5965d5f60956fb0fbcdb514 (patch)
tree229c299330fa9c3cb4cb5a1903e0559e3e7a5d5b /drivers/target/target_core_tpg.c
parent140854cb72525246745b67300d35101ad2875a39 (diff)
downloadlinux-41ac82b668177876d5965d5f60956fb0fbcdb514.tar.gz
linux-41ac82b668177876d5965d5f60956fb0fbcdb514.tar.xz
linux-41ac82b668177876d5965d5f60956fb0fbcdb514.zip
target: Add se_sess->sess_kref + get/put helpers
This patch adds basic se_session->sess_kref and get/put helpers for fabric session reference counting. It sets the initial kref in transport_init_session() and adds a target_release_session() callback to invoke TFO->close_session() for final session shutdown. Cc: Roland Dreier <roland@purestorage.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Joern Engel <joern@logfs.org> Cc: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_tpg.c')
0 files changed, 0 insertions, 0 deletions