summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-13 16:29:27 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-20 23:14:21 +0300
commit2dc23afffbcac7c8935422beca1ba8636ff310ad (patch)
tree3b2eede418ebbadbed3d44df04b12f7be704c4ed
parent7dc58ca5d8cd3d81ff329500a502cbe64208d4a1 (diff)
downloadlinux-2dc23afffbcac7c8935422beca1ba8636ff310ad.tar.xz
NFS: ENOMEM should also be a fatal error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
-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;