kernel_optimize_test/fs/9p
Al Viro 40ba433a85 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>
2021-09-08 08:49:01 +02:00
..
acl.c
acl.h
cache.c
cache.h
fid.c
fid.h
Kconfig
Makefile
v9fs_vfs.h
v9fs.c
v9fs.h
vfs_addr.c
vfs_dentry.c
vfs_dir.c
vfs_file.c fs: 9p: add generic splice_write file operation 2020-12-01 21:40:47 +01:00
vfs_inode_dotl.c new helper: inode_wrong_type() 2021-09-08 08:49:01 +02:00
vfs_inode.c new helper: inode_wrong_type() 2021-09-08 08:49:01 +02:00
vfs_super.c Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-24 12:26:05 -07:00
xattr.c
xattr.h