aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/target/target_core_fabric.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-05-02 15:45:25 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2016-05-10 01:19:49 -0700
commitd94331fab6d4d48280a5cea646352db90777966d (patch)
tree8d4814eb16f6708d70113a4701253c502b7ab71a /include/target/target_core_fabric.h
parentiscsi-target: remove usage of ->shutdown_session (diff)
downloadwireguard-linux-d94331fab6d4d48280a5cea646352db90777966d.tar.xz
wireguard-linux-d94331fab6d4d48280a5cea646352db90777966d.zip
target: remove sess_kref and ->shutdown_session
Both of them are unused now that drivers handle any delayed session shutdown internally. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/target_core_fabric.h')
-rw-r--r--include/target/target_core_fabric.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
index 8ff6d40a294f..ec79da3b43df 100644
--- a/include/target/target_core_fabric.h
+++ b/include/target/target_core_fabric.h
@@ -50,10 +50,6 @@ struct target_core_fabric_ops {
*/
int (*check_stop_free)(struct se_cmd *);
void (*release_cmd)(struct se_cmd *);
- /*
- * Called with spin_lock_bh(struct se_portal_group->session_lock held.
- */
- int (*shutdown_session)(struct se_session *);
void (*close_session)(struct se_session *);
u32 (*sess_get_index)(struct se_session *);
/*
@@ -123,8 +119,6 @@ void __transport_register_session(struct se_portal_group *,
struct se_node_acl *, struct se_session *, void *);
void transport_register_session(struct se_portal_group *,
struct se_node_acl *, struct se_session *, void *);
-int target_get_session(struct se_session *);
-void target_put_session(struct se_session *);
ssize_t target_show_dynamic_sessions(struct se_portal_group *, char *);
void transport_free_session(struct se_session *);
void target_put_nacl(struct se_node_acl *);