init: add an init_chown helper
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 09:13:26 +0000 (11:13 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:52 +0000 (08:17 +0200)
commitb873498f99c77e7b5be3aa5ffe9ca67437232fe0
tree6164c389372c34a25a5d1015d1d004a1c0250072
parent4b7ca5014cbef51cdb99fd644eae4f3773747a05
init: add an init_chown helper

Add a simple helper to chown with a kernel space file name and switch
the early init code over to it.

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