diff options
author | Christoph Hellwig <hch@lst.de> | 2015-03-26 12:27:31 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-03-26 22:51:53 +0100 |
commit | b13876d23a24f7fb5307183ee3314434193870af (patch) | |
tree | 652218a96397fd3830b9708fa679ee8d63ec78f2 /drivers/target/target_core_internal.h | |
parent | target: Better handling of AllRegistrants reservations (diff) | |
download | linux-b13876d23a24f7fb5307183ee3314434193870af.tar.xz linux-b13876d23a24f7fb5307183ee3314434193870af.zip |
target: move external declarations to a headers
We should not declare extrnal .c symbols in C files to make sure they
match the actual prototype, and sparse correctly warns about this.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_internal.h')
-rw-r--r-- | drivers/target/target_core_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h index 60381db90026..874a9bc988d8 100644 --- a/drivers/target/target_core_internal.h +++ b/drivers/target/target_core_internal.h @@ -4,7 +4,13 @@ /* target_core_alua.c */ extern struct t10_alua_lu_gp *default_lu_gp; +/* target_core_configfs.c */ +extern struct configfs_subsystem *target_core_subsystem[]; + /* target_core_device.c */ +extern struct mutex g_device_mutex; +extern struct list_head g_device_list; + struct se_dev_entry *core_get_se_deve_from_rtpi(struct se_node_acl *, u16); int core_free_device_list_for_node(struct se_node_acl *, struct se_portal_group *); |