]> Git Repo - linux.git/commit
shmem: convert shmem_init_inodecache() to void
authorweiping zhang <[email protected]>
Thu, 16 Nov 2017 01:38:18 +0000 (17:38 -0800)
committerLinus Torvalds <[email protected]>
Thu, 16 Nov 2017 02:21:07 +0000 (18:21 -0800)
commit9a8ec03ed022b79e56dca820cf04debbb240c7b3
treeb328cd281aa7086bedd61bd7d3915c353153570a
parent313674661925ee265f16570c893ea13cb9e00b82
shmem: convert shmem_init_inodecache() to void

shmem_inode_cachep was created with SLAB_PANIC flag and
shmem_init_inodecache() never returns non-zero, so convert this
function to return void.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: weiping zhang <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/shmem.c
This page took 0.054405 seconds and 4 git commands to generate.