diff options
author | Thomas Glanzmann <thomas@glanzmann.de> | 2013-10-07 17:13:02 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-24 00:30:07 -0400 |
commit | b3fde035714b83ef7ddbbd5a520a2150d990349b (patch) | |
tree | b8dab2778c0b419592687f8bf12df3a762d28d80 /drivers/target | |
parent | 4c54b6cf28bcd942d53d8504c4fb45bb3637f7da (diff) |
target: Export symbol core_tpg_check_initiator_node_acl
Export symbol core_tpg_check_initiator_node_acl and move prototype from the
private drivers/target/target_core_internal.h to the public
include/target/target_core_fabric.h
Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_internal.h | 2 | ||||
-rw-r--r-- | drivers/target/target_core_tpg.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h index 579128abe3f5..889af4df8562 100644 --- a/drivers/target/target_core_internal.h +++ b/drivers/target/target_core_internal.h | |||
@@ -75,8 +75,6 @@ extern struct se_device *g_lun0_dev; | |||
75 | 75 | ||
76 | struct se_node_acl *__core_tpg_get_initiator_node_acl(struct se_portal_group *tpg, | 76 | struct se_node_acl *__core_tpg_get_initiator_node_acl(struct se_portal_group *tpg, |
77 | const char *); | 77 | const char *); |
78 | struct se_node_acl *core_tpg_get_initiator_node_acl(struct se_portal_group *tpg, | ||
79 | unsigned char *); | ||
80 | void core_tpg_add_node_to_devs(struct se_node_acl *, struct se_portal_group *); | 78 | void core_tpg_add_node_to_devs(struct se_node_acl *, struct se_portal_group *); |
81 | void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *); | 79 | void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *); |
82 | struct se_lun *core_tpg_pre_addlun(struct se_portal_group *, u32); | 80 | struct se_lun *core_tpg_pre_addlun(struct se_portal_group *, u32); |
diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index b9a6ec0aa5fe..ec992208dc55 100644 --- a/drivers/target/target_core_tpg.c +++ b/drivers/target/target_core_tpg.c | |||
@@ -116,6 +116,7 @@ struct se_node_acl *core_tpg_get_initiator_node_acl( | |||
116 | 116 | ||
117 | return acl; | 117 | return acl; |
118 | } | 118 | } |
119 | EXPORT_SYMBOL(core_tpg_get_initiator_node_acl); | ||
119 | 120 | ||
120 | /* core_tpg_add_node_to_devs(): | 121 | /* core_tpg_add_node_to_devs(): |
121 | * | 122 | * |