diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-01 18:09:44 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-04 22:01:59 -0400 |
commit | 037f11b4752f717201143a1dc5d6acf3cb71ddfa (patch) | |
tree | 4fc67c21261d01d99100788a23b56da581d79f29 /init/main.c | |
parent | 33488845f211afcdb7e5c00a3152890e06cdc78e (diff) | |
download | linux-stable-037f11b4752f717201143a1dc5d6acf3cb71ddfa.tar.gz linux-stable-037f11b4752f717201143a1dc5d6acf3cb71ddfa.tar.bz2 linux-stable-037f11b4752f717201143a1dc5d6acf3cb71ddfa.zip |
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>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 5a2c69b4d7b3..4dbc7243557e 100644 --- a/init/main.c +++ b/init/main.c @@ -1000,7 +1000,6 @@ static void __init do_initcalls(void) static void __init do_basic_setup(void) { cpuset_init_smp(); - shmem_init(); driver_init(); init_irq_proc(); do_ctors(); |