WSL2-Linux-Kernel/fs/nfs
Matthew Wilcox (Oracle) e710727f43 nfs: Leave pages in the pagecache if readpage failed
commit 0b768a9610 upstream.

The pagecache handles readpage failing by itself; it doesn't want
filesystems to remove pages from under it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 09:14:50 +02:00
..
blocklayout blocklayoutdriver: Fix reference leak of pnfs_device_node 2024-01-25 14:52:36 -08:00
filelayout pNFS/filelayout: Fix coalescing test for single DS 2023-01-24 07:22:41 +01:00
flexfilelayout NFS/pNFS: Report EINVAL errors from connect() to the server 2023-10-06 13:18:00 +02:00
Kconfig
Makefile
cache_lib.c
cache_lib.h
callback.c sunrpc: exclude from freezer when waiting for requests: 2024-06-16 13:39:55 +02:00
callback.h
callback_proc.c
callback_xdr.c SUNRPC: Parametrize how much of argsize should be zeroed 2024-04-10 16:19:17 +02:00
client.c nfs: make the rpc_stat per net namespace 2024-05-17 11:50:46 +02:00
delegation.c NFSv4: Fix a potential state reclaim deadlock 2022-11-10 18:15:26 +01:00
delegation.h
dir.c NFS: Further optimisations for 'ls -l' 2022-09-15 11:30:03 +02:00
direct.c nfs: fix UAF in direct writes 2024-04-10 16:18:40 +02:00
dns_resolve.c
dns_resolve.h
export.c nfsd: allow reaping files still under writeback 2024-04-10 16:19:27 +02:00
file.c NFSv4: keep state manager thread active if swap is enabled 2023-03-10 09:39:30 +01:00
fs_context.c
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c nfs: Handle error of rpc_proc_register() in nfs_net_init(). 2024-05-17 11:50:46 +02:00
internal.h nfs: fix undefined behavior in nfs_block_bits() 2024-06-16 13:40:01 +02:00
io.c
iostat.h
mount_clnt.c
namespace.c NFS: Fix an Oops in nfs_d_automount() 2022-12-31 13:14:13 +01:00
netns.h nfs: make the rpc_stat per net namespace 2024-05-17 11:50:46 +02:00
nfs.h
nfs2super.c
nfs2xdr.c NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN 2023-09-19 12:22:43 +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-19 12:22:43 +02:00
nfs4_fs.h NFSv4: keep state manager thread active if swap is enabled 2023-03-10 09:39:30 +01:00
nfs4client.c NFSv4.1: fix pnfs MDS=DS session trunking 2023-10-06 13:18:00 +02:00
nfs4file.c NFSv4.2 fix problems with __nfs42_ssc_open 2022-08-31 17:16:37 +02:00
nfs4getroot.c
nfs4idmap.c NFSv4: Fix races in the legacy idmapper upcall 2022-08-25 11:40:02 +02:00
nfs4idmap.h
nfs4namespace.c NFSv4: Fix free of uninitialized nfs4_label on referral lookup. 2022-11-03 23:59:10 +09:00
nfs4proc.c NFS: Fix READ_PLUS when server doesn't support OP_READ_PLUS 2024-06-16 13:40:01 +02:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c NFSv4: Fixup smatch warning for ambiguous return 2024-06-16 13:39:46 +02:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h trace: Relocate event helper files 2024-04-10 16:19:24 +02:00
nfs4xdr.c NFSv4.2: Fix a memory stomp in decode_attr_security_label 2022-12-31 13:14:13 +01:00
nfs42.h NFSv4.2: fix listxattr maximum XDR buffer size 2024-03-26 18:21:33 -04:00
nfs42proc.c NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ 2023-09-19 12:22:43 +02:00
nfs42xattr.c
nfs42xdr.c
nfsroot.c NFS: Fix an off by one in root_nfs_cat() 2024-03-26 18:21:33 -04:00
nfstrace.c
nfstrace.h trace: Relocate event helper files 2024-04-10 16:19:24 +02:00
pagelist.c
pnfs.c pNFS: Fix a hang in nfs4_evict_inode() 2023-10-25 11:59:02 +02:00
pnfs.h NFS: Move NFS protocol display macros to global header 2024-04-10 16:18:52 +02:00
pnfs_dev.c NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info 2023-09-19 12:22:56 +02:00
pnfs_nfs.c pNFS: Fix assignment of xprtdata.cred 2023-09-19 12:22:43 +02:00
proc.c
read.c nfs: Leave pages in the pagecache if readpage failed 2024-07-05 09:14:50 +02:00
super.c NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0 2022-09-23 14:15:47 +02:00
symlink.c
sysctl.c
sysfs.c NFS: rename nfs_client_kset to nfs_kset 2023-10-10 21:59:04 +02:00
sysfs.h
unlink.c
write.c nfs: fix UAF in direct writes 2024-04-10 16:18:40 +02:00