fs: add a vfs_fchmod helper
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 06:55:05 +0000 (08:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 16 Jul 2020 13:33:04 +0000 (15:33 +0200)
commit9e96c8c0e94eea2f69a9705f5d0f51928ea26c17
treeb37bff2ea4afb198636d736ad4e4572af4aeaeb3
parentc04011fe8cbd80af1be6e12b53193bf3846750d7
fs: add a vfs_fchmod helper

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>
fs/open.c
include/linux/fs.h