From: Trond Myklebust Date: Wed, 13 Feb 2019 13:29:27 +0000 (-0500) Subject: NFS: ENOMEM should also be a fatal error. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2dc23afffbcac7c8935422beca1ba8636ff310ad;p=linux.git NFS: ENOMEM should also be a fatal error. Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 1cb9670bb8b59..b26622d9686fa 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;