mnt_init(): call shmem_init() unconditionally
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 1 Jun 2019 22:09:44 +0000 (18:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Jul 2019 02:01:59 +0000 (22:01 -0400)
commit037f11b4752f717201143a1dc5d6acf3cb71ddfa
tree4fc67c21261d01d99100788a23b56da581d79f29
parent33488845f211afcdb7e5c00a3152890e06cdc78e
mnt_init(): call shmem_init() unconditionally

No point having two call sites (earlier in init_rootfs() from
mnt_init() in case we are going to use shmem-style rootfs,
later from do_basic_setup() unconditionally), along with the
logics in shmem_init() itself to make the second call a no-op...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
include/linux/init.h
init/do_mounts.c
init/main.c
mm/shmem.c