summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-28 21:41:10 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 07:44:07 +0200
commit6657719390cd05be45f4e3b501d8bb46889c0a19 (patch)
tree8d2d97f645b05badd134526659f5d9adc7ab9234 /kernel/fork.c
parentswitch do_spufs_create() to user_path_create(), fix double-unlock (diff)
downloadlinux-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 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 0276c30401a0..31fa13e63b70 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1574,6 +1574,7 @@ void __init proc_caches_init(void)
SLAB_HWCACHE_ALIGN|SLAB_PANIC|SLAB_NOTRACK, NULL);
vm_area_cachep = KMEM_CACHE(vm_area_struct, SLAB_PANIC);
mmap_init();
+ nsproxy_cache_init();
}
/*