]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: add a vfs_fchown helper
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 06:47:43 +0000 (08:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 10:50:13 +0000 (12:50 +0200)
commitc2f18e9a7619e194e564cd159e830efe7ce7545f
tree661fb8f0b57a1baca0271c60d8020b19bcac7ebb
parenta65f5dbf3249b9ca9c05a843d2a5bddad0b9adf6
fs: add a vfs_fchown helper

[ Upstream commit c04011fe8cbd80af1be6e12b53193bf3846750d7 ]

Add a helper for struct file based chown operations.  To be used by
the initramfs code soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 4624b346cf67 ("init: open /initrd.image with O_LARGEFILE")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/open.c
include/linux/fs.h