linux_dsm_epyc7002/fs/overlayfs
Al Viro c3141ef7f9 new helper: inode_wrong_type()
commit 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 upstream.

inode_wrong_type(inode, mode) returns true if setting inode->i_mode
to given value would've changed the inode type.  We have enough of
those checks open-coded to make a helper worthwhile.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 19:05:18 +02:00
..
copy_up.c ovl: fix missing revert_creds() on error path 2021-05-14 09:50:05 +02:00
dir.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
export.c ovl: fix uninitialized pointer read in ovl_lookup_real_one() 2024-07-05 18:56:55 +02:00
file.c ovl: implement volatile-specific fsync error behaviour 2021-02-10 09:29:16 +01:00
inode.c ovl: perform vfs_getxattr() with mounter creds 2021-02-17 11:02:22 +01:00
Kconfig docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c new helper: inode_wrong_type() 2024-07-05 19:05:18 +02:00
overlayfs.h ovl: invalidate readdir cache on changes to dir with origin 2021-05-14 09:50:35 +02:00
ovl_entry.h ovl: implement volatile-specific fsync error behaviour 2021-02-10 09:29:16 +01:00
readdir.c ovl: invalidate readdir cache on changes to dir with origin 2021-05-14 09:50:35 +02:00
super.c ovl: allow upperdir inside lowerdir 2021-05-07 11:04:33 +02:00
util.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00