提交 6bd14416 编写于 作者: T Trond Myklebust

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

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