Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 1fa3e2eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -637,6 +637,7 @@ static void __rpc_queue_timer_fn(unsigned long ptr)

static void __rpc_atrun(struct rpc_task *task)
{
	if (task->tk_status == -ETIMEDOUT)
		task->tk_status = 0;
}