mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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>
This commit is contained in:
parent
74fe5f7c2a
commit
9ec2ef53b9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user