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

[ Upstream commit 9e96c8c0e94eea2f69a9705f5d0f51928ea26c17 ]

Add a helper for struct file based chmode 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