init: add an init_unlink helper
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jul 2020 06:23:40 +0000 (08:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:52 +0000 (08:17 +0200)
commit8fb9f73e5a539ab3aa4785f30fb52c65fa98600c
tree81f6cb5c68284eb39e7798602e5dc329933ad768
parent09267defa36aaff6ff829bd2fc8b043ec151cc3e
init: add an init_unlink helper

Add a simple helper to unlink with a kernel space file name and switch
the early init code over to it.  Remove the now unused ksys_unlink.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/init.c
include/linux/init_syscalls.h
include/linux/syscalls.h
init/do_mounts.h
init/do_mounts_initrd.c
init/do_mounts_rd.c
init/initramfs.c