diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2007-10-17 02:26:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:47 -0400 |
commit | 040b5c6f9503f2d6b35c335f8537bb3035d35547 (patch) | |
tree | 71f1693fbcaf9e2a953e66fdf13bbbc20510b60e /fs/proc | |
parent | c4f3b63fe15b4629aa1ec163c95ab30423d0f76a (diff) |
SLAB_PANIC more (proc, posix-timers, shmem)
These aren't modular, so SLAB_PANIC is OK.
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 7cffa433a3c8..99ca00485fc3 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c | |||
@@ -119,10 +119,8 @@ int __init proc_init_inodecache(void) | |||
119 | proc_inode_cachep = kmem_cache_create("proc_inode_cache", | 119 | proc_inode_cachep = kmem_cache_create("proc_inode_cache", |
120 | sizeof(struct proc_inode), | 120 | sizeof(struct proc_inode), |
121 | 0, (SLAB_RECLAIM_ACCOUNT| | 121 | 0, (SLAB_RECLAIM_ACCOUNT| |
122 | SLAB_MEM_SPREAD), | 122 | SLAB_MEM_SPREAD|SLAB_PANIC), |
123 | init_once); | 123 | init_once); |
124 | if (proc_inode_cachep == NULL) | ||
125 | return -ENOMEM; | ||
126 | return 0; | 124 | return 0; |
127 | } | 125 | } |
128 | 126 | ||