summaryrefslogtreecommitdiff
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-05-22 22:52:18 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-06 20:24:40 (GMT)
commit9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea (patch)
tree72db80132d4c1aa235e4b3ea46efb11e9a82e1d3 /net/sunrpc/sched.c
parent74fe5f7c2a74d58a39a386bd511e50d1dfc0134c (diff)
downloadlinux-9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea.tar.xz
SUNRPC: Remove redundant call to rpc_set_running() in __rpc_execute()
The RPC_TASK_RUNNING flag will always have been set in rpc_make_runnable() once we get past the test for out_of_line_wait_on_bit() returning ERESTARTSYS. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r--net/sunrpc/sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index dcbd69c..b7b32c3 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -790,7 +790,6 @@ static void __rpc_execute(struct rpc_task *task)
task->tk_flags |= RPC_TASK_KILLED;
rpc_exit(task, -ERESTARTSYS);
}
- rpc_set_running(task);
dprintk("RPC: %5u sync task resuming\n", task->tk_pid);
}