Adrian Bunk <[EMAIL PROTECTED]> writes: > Struct proc_net_ns_ops can become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Acked-by: "Eric W. Biederman" <[EMAIL PROTECTED]> Don't have a clue why I didn't make it static originally. > --- > 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, > }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/