projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501e7a4
)
NFS: Trunking detection should handle ERESTARTSYS/EINTR
author
Trond Myklebust
<
[email protected]
>
Wed, 21 Jun 2017 14:16:56 +0000
(10:16 -0400)
committer
Trond Myklebust
<
[email protected]
>
Wed, 28 Jun 2017 01:44:58 +0000
(21:44 -0400)
Currently, it will return EIO in those cases.
Signed-off-by: Trond Myklebust <
[email protected]
>
fs/nfs/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4state.c
b/fs/nfs/nfs4state.c
index b34de036501bc90e48be043aec38485f7f755e55..cbf82b0d446759a4934fbf7329e6a767ad5530ce 100644
(file)
--- 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)