summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-01-22 13:39:09 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-20 21:14:21 +0100
commit7dc58ca5d8cd3d81ff329500a502cbe64208d4a1 (patch)
tree6e6efb100e77a4e87967b2da1299dccc5a106bad /fs/nfs/internal.h
parentNFS: Ensure NFS writeback allocations don't recurse back into NFS. (diff)
downloadlinux-7dc58ca5d8cd3d81ff329500a502cbe64208d4a1.tar.xz
linux-7dc58ca5d8cd3d81ff329500a502cbe64208d4a1.zip
NFS: EINTR is also a fatal error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
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: