summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-06-21 16:16:56 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-06-28 03:44:58 +0200
commit898fc11bb2bd4fbcefb685872d9fffaba2c8edaf (patch)
treeb0750f37005b8852f4efe24c86181cf3dbf661bd /fs/nfs/nfs4state.c
parentNFSv4.2: Don't send mode again in post-EXCLUSIVE4_1 SETATTR with umask (diff)
downloadlinux-898fc11bb2bd4fbcefb685872d9fffaba2c8edaf.tar.xz
linux-898fc11bb2bd4fbcefb685872d9fffaba2c8edaf.zip
NFS: Trunking detection should handle ERESTARTSYS/EINTR
Currently, it will return EIO in those cases. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index b34de036501b..cbf82b0d4467 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -2134,6 +2134,8 @@ again:
put_rpccred(cred);
switch (status) {
case 0:
+ case -EINTR:
+ case -ERESTARTSYS:
break;
case -ETIMEDOUT:
if (clnt->cl_softrtry)