summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-13 14:29:27 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-20 21:14:21 +0100
commit2dc23afffbcac7c8935422beca1ba8636ff310ad (patch)
tree3b2eede418ebbadbed3d44df04b12f7be704c4ed /fs/nfs/internal.h
parentNFS: EINTR is also a fatal error. (diff)
downloadlinux-2dc23afffbcac7c8935422beca1ba8636ff310ad.tar.xz
linux-2dc23afffbcac7c8935422beca1ba8636ff310ad.zip
NFS: ENOMEM should also be a fatal error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-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;