public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] fs/proc/proc_net.c: make a struct static
@ 2007-10-24 16:23 Adrian Bunk
  2007-10-24 18:18 ` Eric W. Biederman
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
  To: Eric Biederman, David S. Miller; +Cc: linux-kernel

Struct proc_net_ns_ops can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
5ae49d45bc25eed356ecbe3592db270bfa1d9b73 
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,
 };


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-26 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] fs/proc/proc_net.c: make a struct static Adrian Bunk
2007-10-24 18:18 ` Eric W. Biederman
2007-10-26 10:55   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox