linux-stable/fs/nfs
Trond Myklebust 421118d019 NFS: Memory allocation failures are not server fatal errors
commit 452284407c upstream.

We need to filter out ENOMEM in nfs_error_is_fatal_on_server(), because
running out of memory on our client is not a server error.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Fixes: 2dc23afffb ("NFS: ENOMEM should also be a fatal error.")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-06 08:47:56 +02:00
..
blocklayout
filelayout nfs41: pnfs: filelayout: Replace one-element array with flexible-array member 2022-01-06 14:00:20 -05:00
flexfilelayout
cache_lib.c
cache_lib.h
callback.c Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
callback.h NFSv4.1: Fix uninitialised variable in devicenotify 2022-01-06 14:00:20 -05:00
callback_proc.c NFSv4/pNFS: Fix another issue with a list iterator pointing to the head 2022-04-08 13:58:35 +02:00
callback_xdr.c NFS: remove unneeded check in decode_devicenotify_args() 2022-04-08 13:58:28 +02:00
client.c NFS: Fix initialisation of nfs_client cl_flags field 2022-02-08 09:13:49 -05:00
delegation.c
delegation.h
dir.c NFSv4: fix open failure with O_ACCMODE flag 2022-04-13 19:27:27 +02:00
direct.c NFS: swap-out must always use STABLE writes. 2022-04-13 19:27:25 +02:00
dns_resolve.c
dns_resolve.h
export.c nfs: block notification on fs with its own ->lock 2022-01-08 14:42:01 -05:00
file.c NFS: swap IO handling is slightly different for O_DIRECT IO 2022-04-13 19:27:25 +02:00
fs_context.c nfs: fix broken handling of the softreval mount option 2022-05-18 10:28:14 +02:00
fscache.c nfs: Implement cache I/O by accessing the cache directly 2022-01-10 11:53:25 +00:00
fscache.h 9p, afs, ceph, nfs: Use current_is_kswapd() rather than gfpflags_allow_blocking() 2022-01-11 22:27:42 +00:00
getroot.c NFS: Remove the nfs4_label argument from nfs_setsecurity 2021-11-05 14:54:40 -04:00
inode.c Revert "NFSv4: Handle the special Linux file open access mode" 2022-04-13 19:27:27 +02:00
internal.h NFS: Memory allocation failures are not server fatal errors 2022-06-06 08:47:56 +02:00
io.c
iostat.h
Kconfig nfs: Convert to new fscache volume/cookie API 2022-01-10 11:53:25 +00:00
Makefile nfs: Convert to new fscache volume/cookie API 2022-01-10 11:53:25 +00:00
mount_clnt.c
namespace.c NFS: Remove the label from the nfs4_lookup_res struct 2021-11-05 14:54:39 -04:00
netns.h
nfs.h
nfs2super.c
nfs2xdr.c NFS: Return valid errors from nfs2/3_decode_dirent() 2022-04-08 13:58:26 +02:00
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c NFS: pass cred explicitly for access tests 2022-01-06 14:00:20 -05:00
nfs3super.c
nfs3xdr.c NFS: Return valid errors from nfs2/3_decode_dirent() 2022-04-08 13:58:26 +02:00
nfs4_fs.h NFSv4 handle port presence in fs_location server string 2022-01-13 09:36:58 -05:00
nfs4client.c nfs: nfs4clinet: check the return value of kstrdup() 2022-01-06 14:00:20 -05:00
nfs4file.c NFSv4: fix open failure with O_ACCMODE flag 2022-04-13 19:27:27 +02:00
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c NFSv4 handle port presence in fs_location server string 2022-01-13 09:36:58 -05:00
nfs4proc.c NFSv4: Don't invalidate inode attributes on delegation return 2022-05-12 12:32:34 +02:00
nfs4renewd.c
nfs4session.c NFSv4: Sanity check the parameters in nfs41_update_target_slotid() 2021-11-07 09:23:14 -05:00
nfs4session.h NFSv4: Sanity check the parameters in nfs41_update_target_slotid() 2021-11-07 09:23:14 -05:00
nfs4state.c NFSv4: Protect the state recovery thread against direct reclaim 2022-04-13 19:27:24 +02:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h NFSv4.2 add tracepoint to OFFLOAD_CANCEL 2021-11-04 19:43:30 -04:00
nfs4xdr.c NFSv4 remove zero number of fs_locations entries error check 2022-01-12 14:26:05 -05:00
nfs42.h
nfs42proc.c NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() 2022-04-13 19:27:24 +02:00
nfs42xattr.c
nfs42xdr.c NFSv42: Don't fail clone() unless the OP_CLONE operation failed 2021-11-17 14:08:23 -05:00
nfsroot.c
nfstrace.c
nfstrace.h nfs: Convert to new fscache volume/cookie API 2022-01-10 11:53:25 +00:00
pagelist.c NFS: Avoid writeback threads getting stuck in mempool_alloc() 2022-04-13 19:27:26 +02:00
pnfs.c NFSv4/pNFS: Fix another issue with a list iterator pointing to the head 2022-04-08 13:58:35 +02:00
pnfs.h NFSv4/pNFS: Fix another issue with a list iterator pointing to the head 2022-04-08 13:58:35 +02:00
pnfs_dev.c
pnfs_nfs.c NFS: nfsiod should not block forever in mempool_alloc() 2022-04-13 19:27:26 +02:00
proc.c NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR 2022-04-08 13:57:17 +02:00
read.c nfs: Implement cache I/O by accessing the cache directly 2022-01-10 11:53:25 +00:00
super.c nfs: Convert to new fscache volume/cookie API 2022-01-10 11:53:25 +00:00
symlink.c
sysctl.c
sysfs.c NFS: use default_groups in kobj_type 2022-01-06 14:00:20 -05:00
sysfs.h
unlink.c
write.c NFS: Avoid writeback threads getting stuck in mempool_alloc() 2022-04-13 19:27:26 +02:00