init: add an init_rmdir helper
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 09:11:45 +0000 (11:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:52 +0000 (08:17 +0200)
commit20cce026c3e0972017b9cb4a7cccfb8cacf187d5
treed3e48d9708b1864d9c4dc8addefd3340699120e8
parent8fb9f73e5a539ab3aa4785f30fb52c65fa98600c
init: add an init_rmdir helper

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

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