[v3,8/8] NFS: ENOMEM should also be a fatal error.
diff mbox series

Message ID 20190219135311.119300-9-trond.myklebust@hammerspace.com
State New
Headers show
  • NFS file I/O bugfixes and cleanups
Related show

Commit Message

Trond Myklebust Feb. 19, 2019, 1:53 p.m. UTC
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
 fs/nfs/internal.h | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

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;
 		return false;