commit | 9a8ec03ed022b79e56dca820cf04debbb240c7b3 | [log] [tgz] |
---|---|---|
author | weiping zhang <zhangweiping@didichuxing.com> | Wed Nov 15 17:38:18 2017 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 15 18:21:07 2017 -0800 |
tree | b328cd281aa7086bedd61bd7d3915c353153570a | |
parent | 313674661925ee265f16570c893ea13cb9e00b82 [diff] |
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>