summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2019-04-07 13:58:47 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-04-25 14:18:12 -0400
commit87150aaed9e55d8b18a94aa2589aa4331429fce8 (patch)
treef2798dbd3e09d27a0f6a00578eb6b3533d11c829 /net/sunrpc/xprt.c
parent8ba6a92d0182091e0c2fa15c1a5b5458bac25fc3 (diff)
downloadlinux-87150aaed9e55d8b18a94aa2589aa4331429fce8.tar.bz2
SUNRPC: Refactor rpc_sleep_on()
rpc_sleep_on() does not need to set the task->tk_callback under the queue lock, so move that out. Also refactor the check for whether the task is active. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions