X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Ftarget%2Ftarget_core_fabric.h;h=56653408f53bf6648c9f44175552e3dbb1436831;hb=71e4634e00119b2fb8dd0da99b3f5ebbb49cc872;hp=de21130cc9bc909c93456da898c0d09c0b798472;hpb=5261d86c5ce5726f097ed5e4ea28c40684ebf8e4;p=mirror_ubuntu-artful-kernel.git diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index de21130cc9bc..56653408f53b 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h @@ -117,7 +117,7 @@ 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 *); -void target_get_session(struct se_session *); +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 *); @@ -169,10 +169,11 @@ void core_allocate_nexus_loss_ua(struct se_node_acl *acl); struct se_node_acl *core_tpg_get_initiator_node_acl(struct se_portal_group *tpg, unsigned char *); +bool target_tpg_has_node_acl(struct se_portal_group *tpg, + const char *); struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *, unsigned char *); -int core_tpg_set_initiator_node_queue_depth(struct se_portal_group *, - unsigned char *, u32, int); +int core_tpg_set_initiator_node_queue_depth(struct se_node_acl *, u32); int core_tpg_set_initiator_node_tag(struct se_portal_group *, struct se_node_acl *, const char *); int core_tpg_register(struct se_wwn *, struct se_portal_group *, int);