提交 898fc11b 编写于 作者: T Trond Myklebust

NFS: Trunking detection should handle ERESTARTSYS/EINTR

Currently, it will return EIO in those cases.
Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册