mirror of https://gitee.com/openkylin/linux.git
SUNRPC: Don't let rpc_delay() clobber non-timeout errors
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
1fa3e2eb9d
commit
6bd144160a
|
@ -637,7 +637,8 @@ static void __rpc_queue_timer_fn(unsigned long ptr)
|
||||||
|
|
||||||
static void __rpc_atrun(struct rpc_task *task)
|
static void __rpc_atrun(struct rpc_task *task)
|
||||||
{
|
{
|
||||||
task->tk_status = 0;
|
if (task->tk_status == -ETIMEDOUT)
|
||||||
|
task->tk_status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue