diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2007-09-12 08:51:47 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:16 -0400 |
commit | 36ac3135f5e824942fada4efa3204066b4b40ab1 (patch) | |
tree | 596c2245c59959a673e804a5c7b8b45e422984b7 /fs/proc | |
parent | 8f4c1f9b049df3be11090f1c2c4738700302acae (diff) |
[NETNS]: Fix export symbols.
Add the appropriate EXPORT_SYMBOLS for proc_net_create,
proc_net_fops_create and proc_net_remove to fix errors when
compiling allmodconfig
Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/proc_net.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index 45dde2f7034d..358930a3142a 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c | |||
@@ -31,6 +31,7 @@ struct proc_dir_entry *proc_net_create(struct net *net, | |||
31 | { | 31 | { |
32 | return create_proc_info_entry(name,mode, net->proc_net, get_info); | 32 | return create_proc_info_entry(name,mode, net->proc_net, get_info); |
33 | } | 33 | } |
34 | EXPORT_SYMBOL_GPL(proc_net_create); | ||
34 | 35 | ||
35 | struct proc_dir_entry *proc_net_fops_create(struct net *net, | 36 | struct proc_dir_entry *proc_net_fops_create(struct net *net, |
36 | const char *name, mode_t mode, const struct file_operations *fops) | 37 | const char *name, mode_t mode, const struct file_operations *fops) |
@@ -42,12 +43,13 @@ struct proc_dir_entry *proc_net_fops_create(struct net *net, | |||
42 | res->proc_fops = fops; | 43 | res->proc_fops = fops; |
43 | return res; | 44 | return res; |
44 | } | 45 | } |
46 | EXPORT_SYMBOL_GPL(proc_net_fops_create); | ||
45 | 47 | ||
46 | void proc_net_remove(struct net *net, const char *name) | 48 | void proc_net_remove(struct net *net, const char *name) |
47 | { | 49 | { |
48 | remove_proc_entry(name, net->proc_net); | 50 | remove_proc_entry(name, net->proc_net); |
49 | } | 51 | } |
50 | 52 | EXPORT_SYMBOL_GPL(proc_net_remove); | |
51 | 53 | ||
52 | static struct proc_dir_entry *proc_net_shadow; | 54 | static struct proc_dir_entry *proc_net_shadow; |
53 | 55 | ||