Commit 898fc11b authored by Trond Myklebust's avatar Trond Myklebust

NFS: Trunking detection should handle ERESTARTSYS/EINTR

Currently, it will return EIO in those cases.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 501e7a46
......@@ -2134,6 +2134,8 @@ int nfs4_discover_server_trunking(struct nfs_client *clp,
put_rpccred(cred);
switch (status) {
case 0:
case -EINTR:
case -ERESTARTSYS:
break;
case -ETIMEDOUT:
if (clnt->cl_softrtry)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment