]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/target/target_core_fabric.h
target: remove sess_kref and ->shutdown_session
[mirror_ubuntu-zesty-kernel.git] / include / target / target_core_fabric.h
index 8ff6d40a294fd5a1fcbd8f10d0139d289c00d741..ec79da3b43dffd6db7b0a5ff4d9913279253f0ea 100644 (file)
@@ -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 *);