aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-13 08:29:27 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-20 15:14:21 -0500
commit2dc23afffbcac7c8935422beca1ba8636ff310ad (patch)
tree3b2eede418ebbadbed3d44df04b12f7be704c4ed /fs/nfs
parent7dc58ca5d8cd3d81ff329500a502cbe64208d4a1 (diff)
downloadlinux-stericsson-2dc23afffbcac7c8935422beca1ba8636ff310ad.tar.gz
NFS: ENOMEM should also be a fatal error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 1cb9670bb8b5..b26622d9686f 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -764,6 +764,7 @@ static inline bool nfs_error_is_fatal(int err)
case -EROFS:
case -ESTALE:
case -E2BIG:
+ case -ENOMEM:
return true;
default:
return false;