make sure that nsproxy_cache is initialized early enough
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1ba1068186
commit
6657719390
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue