commit | 6bd144160a5554e4af052c153a094c4851a4c6aa | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Mar 20 12:53:54 2014 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Mar 20 13:38:43 2014 -0400 |
tree | 9a1a1c919195e717323b32785c080e363e496f74 | |
parent | 1fa3e2eb9db07f30a605c66d1a2fdde4b24e74d5 [diff] [blame] |
SUNRPC: Don't let rpc_delay() clobber non-timeout errors Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index ff3cc4b..25578af 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c
@@ -637,7 +637,8 @@ static void __rpc_atrun(struct rpc_task *task) { - task->tk_status = 0; + if (task->tk_status == -ETIMEDOUT) + task->tk_status = 0; } /*