NFS: ENOMEM should also be a fatal error.
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 13 Feb 2019 13:29:27 +0000 (08:29 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 20:14:21 +0000 (15:14 -0500)
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/internal.h

index 1cb9670bb8b59e3a1dda8bf337d114897f007888..b26622d9686fa768bad3aade2ec37909162e8b97 100644 (file)
@@ -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;