diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-02-13 16:29:27 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-02-20 23:14:21 +0300 |
commit | 2dc23afffbcac7c8935422beca1ba8636ff310ad (patch) | |
tree | 3b2eede418ebbadbed3d44df04b12f7be704c4ed | |
parent | 7dc58ca5d8cd3d81ff329500a502cbe64208d4a1 (diff) | |
download | linux-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.h | 1 |
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; |