diff mbox series

[v3,7/8] NFS: EINTR is also a fatal error.

Message ID 20190219135311.119300-8-trond.myklebust@hammerspace.com (mailing list archive)
State New, archived
Headers show
Series NFS file I/O bugfixes and cleanups | expand

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

Patch

diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index b1e577302518..1cb9670bb8b5 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -755,6 +755,7 @@  static inline bool nfs_error_is_fatal(int err)
 {
 	switch (err) {
 	case -ERESTARTSYS:
+	case -EINTR:
 	case -EACCES:
 	case -EDQUOT:
 	case -EFBIG: