Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-1
-1
net/sunrpc/sched.c
··· 790 790 task->tk_flags |= RPC_TASK_KILLED; 791 791 rpc_exit(task, -ERESTARTSYS); 792 792 } 793 - rpc_set_running(task); 794 793 dprintk("RPC: %5u sync task resuming\n", task->tk_pid); 795 794 } 796 795