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
..
blocklayout
BACKPORT: mm: remove the pgprot argument to __vmalloc
2026-01-14 17:48:09 -08:00
filelayout
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
flexfilelayout
NFSv4/flexfiles: Fix handling of NFS level errors in I/O
2025-07-17 18:25:04 +02:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
NFSv4/pnfs: pnfs_set_layout_stateid() should update the layout cred
2025-06-04 14:32:29 +02:00
callback_xdr.c
SUNRPC: Fix integer overflow in decode_rc_list()
2024-11-08 16:20:45 +01:00
client.c
NFS: Fix the setting of capabilities when automounting a new filesystem
2025-08-28 16:21:34 +02:00
delegation.c
delegation.h
dir.c
direct.c
nfs: fix UAF in direct writes
2025-08-28 16:21:37 +02:00
dns_resolve.c
dns_resolve.h
export.c
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
2025-08-28 16:21:22 +02:00
file.c
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c
UPSTREAM: new helper: inode_wrong_type()
2026-05-08 21:46:14 +02:00
internal.h
NFS: Fix the setting of capabilities when automounting a new filesystem
2025-08-28 16:21:34 +02:00
io.c
iostat.h
Kconfig
This is the 5.4.293 stable release
2025-05-05 12:47:34 +00:00
Makefile
mount_clnt.c
namespace.c
netns.h
nfs: make the rpc_stat per net namespace
2024-05-17 11:43:48 +02:00
nfs.h
nfs2super.c
nfs2xdr.c
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
2023-09-23 10:59:48 +02:00
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
2023-09-23 10:59:48 +02:00
nfs4_fs.h
nfs4client.c
NFS4: Fix state renewals missing after boot
2025-12-03 12:45:16 +01:00
nfs4file.c
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c
This is the 5.4.302 stable release
2025-12-03 14:36:44 +00:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
nfs4state.c
NFSv4.1: fix mount hang after CREATE_SESSION failure
2025-12-03 12:45:13 +01:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
NFS4: Trace state recovery operation
2023-10-10 21:46:44 +02:00
nfs4xdr.c
nfs42.h
nfs42proc.c
nfs42xdr.c
nfsroot.c
NFS: Fix an off by one in root_nfs_cat()
2024-03-26 18:22:24 -04:00
nfstrace.c
nfstrace.h
pagelist.c
pnfs.c
pNFS: Handle RPC size limit for layoutcommits
2025-08-28 16:21:29 +02:00
pnfs.h
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
pnfs_dev.c
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
2023-09-23 10:59:57 +02:00
pnfs_nfs.c
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
proc.c
read.c
nfs: Leave pages in the pagecache if readpage failed
2024-07-05 09:08:32 +02:00
super.c
NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
2024-09-12 11:03:55 +02:00
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c
write.c
nfs: fix UAF in direct writes
2025-08-28 16:21:37 +02:00