diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 15:55:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 19:55:20 +0300 |
commit | e3102722ffe77094ba9e7e46380792b3dd8a7abd (patch) | |
tree | 6b98a90de9990e47d2aaec9c87ee9fdaa4e7ed4e /init/do_mounts_initrd.c | |
parent | f5524c3fadba35c075a5131bad74e3041507a694 (diff) | |
download | linux-e3102722ffe77094ba9e7e46380792b3dd8a7abd.tar.xz |
init: rename mount_block_root to mount_root_generic
mount_block_root is also used to mount non-block file systems, so give
it a better name.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init/do_mounts_initrd.c')
-rw-r--r-- | init/do_mounts_initrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 34731241377d..686d1ff3af4b 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -95,7 +95,7 @@ static void __init handle_initrd(void) real_root_dev = new_encode_dev(ROOT_DEV); create_dev("/dev/root.old", Root_RAM0); /* mount initrd on rootfs' /root */ - mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); + mount_root_generic("/dev/root.old", root_mountflags & ~MS_RDONLY); init_mkdir("/old", 0700); init_chdir("/old"); |