NFS: Trunking detection should handle ERESTARTSYS/EINTR

Currently, it will return EIO in those cases.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
Trond Myklebust 2017-06-21 10:16:56 -04:00
parent 501e7a4689
commit 898fc11bb2
1 changed files with 2 additions and 0 deletions

View File

@ -2134,6 +2134,8 @@ again:
put_rpccred(cred); put_rpccred(cred);
switch (status) { switch (status) {
case 0: case 0:
case -EINTR:
case -ERESTARTSYS:
break; break;
case -ETIMEDOUT: case -ETIMEDOUT:
if (clnt->cl_softrtry) if (clnt->cl_softrtry)