projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74fe5f7
)
SUNRPC: Remove redundant call to rpc_set_running() in __rpc_execute()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 22 May 2013 22:52:18 +0000
(18:52 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 6 Jun 2013 20:24:40 +0000
(16:24 -0400)
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>
net/sunrpc/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index dcbd69cb1cbd6ffafaa792718705c3d94a9b0710..b7b32c34c18de25d03f779f361fc50b7af670de8 100644
(file)
--- 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);
}