diff options
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index f6db6131fb2e..cace6049e4a5 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -699,8 +699,9 @@ static void __rpc_execute(struct rpc_task *task) | |||
699 | void rpc_execute(struct rpc_task *task) | 699 | void rpc_execute(struct rpc_task *task) |
700 | { | 700 | { |
701 | rpc_set_active(task); | 701 | rpc_set_active(task); |
702 | rpc_set_running(task); | 702 | rpc_make_runnable(task); |
703 | __rpc_execute(task); | 703 | if (!RPC_IS_ASYNC(task)) |
704 | __rpc_execute(task); | ||
704 | } | 705 | } |
705 | 706 | ||
706 | static void rpc_async_schedule(struct work_struct *work) | 707 | static void rpc_async_schedule(struct work_struct *work) |