projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4c1f9
)
[NETNS]: Fix export symbols.
author
Daniel Lezcano
<dlezcano@fr.ibm.com>
Wed, 12 Sep 2007 12:51:47 +0000
(14:51 +0200)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:16 +0000
(16:49 -0700)
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>
fs/proc/proc_net.c
patch
|
blob
|
history
diff --git
a/fs/proc/proc_net.c
b/fs/proc/proc_net.c
index 45dde2f7034d4f5a0479f26c49c06cd3dd6b5e57..358930a3142af37889ea1854fa8d9ad7b89fd99e 100644
(file)
--- 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,
{
return create_proc_info_entry(name,mode, net->proc_net, get_info);
}
+EXPORT_SYMBOL_GPL(proc_net_create);
struct proc_dir_entry *proc_net_fops_create(struct net *net,
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,
res->proc_fops = fops;
return res;
}
+EXPORT_SYMBOL_GPL(proc_net_fops_create);
void proc_net_remove(struct net *net, const char *name)
{
remove_proc_entry(name, net->proc_net);
}
-
+EXPORT_SYMBOL_GPL(proc_net_remove);
static struct proc_dir_entry *proc_net_shadow;