提交 9455e3f4 编写于 作者: T Trond Myklebust

SUNRPC: Ensure call_status() deals correctly with SOFTCONN tasks

Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
上级 150e7260
......@@ -2004,6 +2004,10 @@ call_status(struct rpc_task *task)
case -EHOSTDOWN:
case -EHOSTUNREACH:
case -ENETUNREACH:
if (RPC_IS_SOFTCONN(task)) {
rpc_exit(task, status);
break;
}
/*
* Delay any retries for 3 seconds, then handle as if it
* were a timeout.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册