summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-26 03:55:44 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-26 03:55:44 -0700
commit253879e62f997d0027500f4b71ef290f37e306ee (patch)
treedd73852dbfd21f7f162f71f36cce24d25d785289 /fs
parentc8d90dca3211966ba5189e0f3d4bccd558d9ae08 (diff)
downloadop-kernel-dev-253879e62f997d0027500f4b71ef290f37e306ee.zip
op-kernel-dev-253879e62f997d0027500f4b71ef290f37e306ee.tar.gz
[NET] fs/proc/proc_net.c: make a struct static
Struct proc_net_ns_ops can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c
index 2e91fb7..4edaad0 100644
--- a/fs/proc/proc_net.c
+++ b/fs/proc/proc_net.c
@@ -185,7 +185,7 @@ static __net_exit void proc_net_ns_exit(struct net *net)
kfree(net->proc_net_root);
}
-struct pernet_operations __net_initdata proc_net_ns_ops = {
+static struct pernet_operations __net_initdata proc_net_ns_ops = {
.init = proc_net_ns_init,
.exit = proc_net_ns_exit,
};
OpenPOWER on IntegriCloud