mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
SLAB_PANIC more (proc, posix-timers, shmem)
These aren't modular, so SLAB_PANIC is OK. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c4f3b63fe1
commit
040b5c6f95
3 changed files with 4 additions and 7 deletions
|
|
@ -2343,9 +2343,7 @@ static int init_inodecache(void)
|
|||
{
|
||||
shmem_inode_cachep = kmem_cache_create("shmem_inode_cache",
|
||||
sizeof(struct shmem_inode_info),
|
||||
0, 0, init_once);
|
||||
if (shmem_inode_cachep == NULL)
|
||||
return -ENOMEM;
|
||||
0, SLAB_PANIC, init_once);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue