diff options
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index ff3cc4bf4b24..25578afe1548 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -637,7 +637,8 @@ static void __rpc_queue_timer_fn(unsigned long ptr) | |||
637 | 637 | ||
638 | static void __rpc_atrun(struct rpc_task *task) | 638 | static void __rpc_atrun(struct rpc_task *task) |
639 | { | 639 | { |
640 | task->tk_status = 0; | 640 | if (task->tk_status == -ETIMEDOUT) |
641 | task->tk_status = 0; | ||
641 | } | 642 | } |
642 | 643 | ||
643 | /* | 644 | /* |