SUNRPC: Add a new helper rpc_wake_up_queued_task()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 22 Feb 2008 20:46:41 +0000 (15:46 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Feb 2008 05:40:40 +0000 (21:40 -0800)
commit96ef13b283934fbf60b732e6c4ce23e8babd0042
tree9efa8e92ff2e7f27746b65214a43ca3a4aed1b14
parentfde95c7554aa77f9a242f32b0b5f8f15395abf52
SUNRPC: Add a new helper rpc_wake_up_queued_task()

In all cases where we currently use rpc_wake_up_task(), we almost always
know on which waitqueue the rpc_task is actually sleeping. This will allows
us to simplify the queue locking in a future patch.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/sched.h
net/sunrpc/clnt.c
net/sunrpc/sched.c