From: Trond Myklebust Date: Wed, 13 Feb 2019 13:29:27 +0000 (-0500) Subject: NFS: ENOMEM should also be a fatal error. X-Git-Tag: v5.1-rc1~10^2~68 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2dc23afffbca;p=linux-block.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 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;