init: add an init_umount helper
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jul 2020 06:23:08 +0000 (08:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:51 +0000 (08:17 +0200)
commit09267defa36aaff6ff829bd2fc8b043ec151cc3e
tree112707b95369bc1db23f2b60c2f286135d7b69fe
parentc60166f04283ffba7b88b45d824bbfb2bfccee24
init: add an init_umount helper

Like ksys_umount, but takes a kernel pointer for the destination path.
Switch over the umount in the init code, 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>
fs/init.c
fs/internal.h
fs/namespace.c
include/linux/init_syscalls.h
include/linux/syscalls.h
init/do_mounts_initrd.c