android_kernel_motorola_sm6375/fs/9p
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Al Viro 831d8c1175
UPSTREAM: 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.

Change-Id: I346cb7a2d1cec2ca16096962d8adc9d7f848fc94
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>
2026-05-08 21:46:14 +02:00
..
acl.c
acl.h
cache.c
cache.h
fid.c
fid.h
Kconfig
Makefile
v9fs.c 9p: sysfs_init: don't hardcode error to ENOMEM 2025-12-03 12:45:14 +01:00
v9fs.h
v9fs_vfs.h
vfs_addr.c
vfs_dentry.c
vfs_dir.c
vfs_file.c 9p: explicitly deny setlease attempts 2024-05-17 11:43:52 +02:00
vfs_inode.c UPSTREAM: new helper: inode_wrong_type() 2026-05-08 21:46:14 +02:00
vfs_inode_dotl.c UPSTREAM: new helper: inode_wrong_type() 2026-05-08 21:46:14 +02:00
vfs_super.c BACKPORT: bdi: initialize ->ra_pages and ->io_pages in bdi_init 2026-05-08 21:46:13 +02:00
xattr.c
xattr.h