commit | 5bcd7ff9e1690dbdbccb2a1cb3c2ea8b8381c435 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Fri Oct 17 03:43:55 2008 +0400 |
committer | Alexey Dobriyan <adobriyan@gmail.com> | Thu Oct 23 13:27:50 2008 +0400 |
tree | 4655120e76654512a1229bb4af0a41fb55c23663 | |
parent | 7c88db0cb589df980acfb2f73c3595a0653004ec [diff] [blame] |
proc: proc_init_inodecache() can't fail kmem_cache creation code will panic, don't return anything. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
diff --git a/fs/proc/root.c b/fs/proc/root.c index 9511753..2a3abd2 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c
@@ -104,9 +104,9 @@ void __init proc_root_init(void) { - int err = proc_init_inodecache(); - if (err) - return; + int err; + + proc_init_inodecache(); err = register_filesystem(&proc_fs_type); if (err) return;