Commit 9455e3f4 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Ensure call_status() deals correctly with SOFTCONN tasks

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment