shmem: convert shmem_init_inodecache() to void
authorweiping zhang <zhangweiping@didichuxing.com>
Thu, 16 Nov 2017 01:38:18 +0000 (17:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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/20170909124542.GA35224@bogon.didichuxing.com
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/shmem.c