android_kernel_motorola_sm6375/fs/nfs
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
..
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 NFSv4.1: Fix uninitialised variable in devicenotify 2022-02-16 12:52:48 +01:00
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 NFS: LOOKUP_DIRECTORY is also ok with symlinks 2022-02-23 11:59:59 +01:00
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 NFS: Do not report flush errors in nfs_write_end() 2022-06-14 18:11:43 +02:00
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 nfs: fix acl memory leak of posix_acl_create() 2021-07-20 16:10:49 +02:00
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 NFSv4 expose nfs_parse_server_name function 2022-02-16 12:52:48 +01:00
nfs4client.c NFS4: Fix state renewals missing after boot 2025-12-03 12:45:16 +01:00
nfs4file.c NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config 2021-06-03 08:59:06 +02:00
nfs4getroot.c
nfs4idmap.c NFSv4: Fix races in the legacy idmapper upcall 2022-08-25 11:18:22 +02:00
nfs4idmap.h
nfs4namespace.c NFSv4 expose nfs_parse_server_name function 2022-02-16 12:52:48 +01:00
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 NFSv4.2: Fix a memory stomp in decode_attr_security_label 2023-01-18 11:41:07 +01:00
nfs42.h
nfs42proc.c NFSv42: Fix pagecache invalidation after COPY/CLONE 2021-12-08 09:01:08 +01:00
nfs42xdr.c NFSv42: Don't fail clone() unless the OP_CLONE operation failed 2021-12-01 09:23:32 +01:00
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 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce() 2021-06-03 08:59:06 +02:00
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