diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-28 21:41:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 07:44:07 +0200 |
commit | 6657719390cd05be45f4e3b501d8bb46889c0a19 (patch) | |
tree | 8d2d97f645b05badd134526659f5d9adc7ab9234 /kernel/nsproxy.c | |
parent | switch do_spufs_create() to user_path_create(), fix double-unlock (diff) | |
download | linux-6657719390cd05be45f4e3b501d8bb46889c0a19.tar.xz linux-6657719390cd05be45f4e3b501d8bb46889c0a19.zip |
make sure that nsproxy_cache is initialized early enough
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | kernel/nsproxy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c index d6a00f3de15d..9aeab4b98c64 100644 --- a/kernel/nsproxy.c +++ b/kernel/nsproxy.c @@ -271,10 +271,8 @@ out: 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); |