commit | 6657719390cd05be45f4e3b501d8bb46889c0a19 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 28 15:41:10 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 20 01:44:07 2011 -0400 |
tree | 8d2d97f645b05badd134526659f5d9adc7ab9234 | |
parent | 1ba106818615faddb63ba782f85f3498b9eb61c6 [diff] [blame] |
make sure that nsproxy_cache is initialized early enough Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c index d6a00f3..9aeab4b 100644 --- a/kernel/nsproxy.c +++ b/kernel/nsproxy.c
@@ -271,10 +271,8 @@ return err; } -static int __init nsproxy_cache_init(void) +int __init nsproxy_cache_init(void) { nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC); return 0; } - -module_init(nsproxy_cache_init);