]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Remove redundant calls to RPC_IS_QUEUED()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2019 21:20:11 +0000 (16:20 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2019 21:22:58 +0000 (16:22 -0500)
commit235b245b7d8852dacaf7de67475682d0db04b6d3
tree3fb6f6046b67e1eceed21850eca64bdccdd410fe
parent1851cf424b3febe130e86028ddbb07130e5f9703
SUNRPC: Remove redundant calls to RPC_IS_QUEUED()

The RPC task wakeup calls all check for RPC_IS_QUEUED() before taking any
locks. In addition, rpc_exit() already calls rpc_wake_up_queued_task().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c
net/sunrpc/sched.c