Commit 6bd14416 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Don't let rpc_delay() clobber non-timeout errors

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 1fa3e2eb
......@@ -637,7 +637,8 @@ static void __rpc_queue_timer_fn(unsigned long ptr)
static void __rpc_atrun(struct rpc_task *task)
{
task->tk_status = 0;
if (task->tk_status == -ETIMEDOUT)
task->tk_status = 0;
}
/*
......
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