diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-22 15:46:41 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-26 00:40:40 -0500 |
commit | 96ef13b283934fbf60b732e6c4ce23e8babd0042 (patch) | |
tree | 9efa8e92ff2e7f27746b65214a43ca3a4aed1b14 /net/sunrpc/clnt.c | |
parent | fde95c7554aa77f9a242f32b0b5f8f15395abf52 (diff) |
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>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 8c6a7f1a25e9..fe95bd0ab1e9 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -1535,7 +1535,7 @@ void rpc_show_tasks(void) | |||
1535 | proc = -1; | 1535 | proc = -1; |
1536 | 1536 | ||
1537 | if (RPC_IS_QUEUED(t)) | 1537 | if (RPC_IS_QUEUED(t)) |
1538 | rpc_waitq = rpc_qname(t->u.tk_wait.rpc_waitq); | 1538 | rpc_waitq = rpc_qname(t->tk_waitqueue); |
1539 | 1539 | ||
1540 | printk("%5u %04d %04x %6d %8p %6d %8p %8ld %8s %8p %8p\n", | 1540 | printk("%5u %04d %04x %6d %8p %6d %8p %8ld %8s %8p %8p\n", |
1541 | t->tk_pid, proc, | 1541 | t->tk_pid, proc, |