init: add an init_chdir helper
Add a simple helper to chdir with a kernel space file name and switch
the early init code over to it. Remove the now unused ksys_chdir.
Signed-off-by:
Christoph Hellwig <hch@lst.de>
Showing
- drivers/base/devtmpfs.c 1 addition, 1 deletiondrivers/base/devtmpfs.c
- fs/init.c 16 additions, 0 deletionsfs/init.c
- fs/open.c 1 addition, 6 deletionsfs/open.c
- include/linux/init_syscalls.h 1 addition, 0 deletionsinclude/linux/init_syscalls.h
- include/linux/syscalls.h 0 additions, 1 deletioninclude/linux/syscalls.h
- init/do_mounts.c 1 addition, 1 deletioninit/do_mounts.c
- init/do_mounts_initrd.c 4 additions, 4 deletionsinit/do_mounts_initrd.c
Loading
Please register or sign in to comment