-
- Downloads
init: add an init_mount helper
Like do_mount, but takes a kernel pointer for the destination path.
Switch over the mounts in the init code and devtmpfs to it, which
just happen to work due to the implicit set_fs(KERNEL_DS) during early
init right now.
Signed-off-by:
Christoph Hellwig <hch@lst.de>
Showing
- drivers/base/devtmpfs.c 3 additions, 2 deletionsdrivers/base/devtmpfs.c
- fs/Makefile 1 addition, 1 deletionfs/Makefile
- fs/init.c 25 additions, 0 deletionsfs/init.c
- fs/internal.h 4 additions, 0 deletionsfs/internal.h
- fs/namespace.c 1 addition, 1 deletionfs/namespace.c
- include/linux/init_syscalls.h 4 additions, 0 deletionsinclude/linux/init_syscalls.h
- init/do_mounts.c 4 additions, 4 deletionsinit/do_mounts.c
- init/do_mounts.h 1 addition, 0 deletionsinit/do_mounts.h
- init/do_mounts_initrd.c 3 additions, 3 deletionsinit/do_mounts_initrd.c
Loading
Please register or sign in to comment