projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47fe064
)
SUNRPC: Cleanup to remove the last users of the RPC_WAITQ declaration
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 18 Jul 2007 17:24:19 +0000
(13:24 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:41 +0000
(
02:05
-0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index ce6cfae91e8835132edef1042fc9341bd9eaeb27..40ce6f6672d6bb8b735d2ed379dff9add6ff087b 100644
(file)
--- a/
net/sunrpc/sched.c
+++ b/
net/sunrpc/sched.c
@@
-45,7
+45,7
@@
static void rpc_release_task(struct rpc_task *task);
/*
* RPC tasks sit here while waiting for conditions to improve.
*/
-static
RPC_WAITQ(delay_queue, "delayq")
;
+static
struct rpc_wait_queue delay_queue
;
/*
* rpciod-related stuff
@@
-1059,6
+1059,11
@@
rpc_init_mempool(void)
goto err_nomem;
if (!rpciod_start())
goto err_nomem;
+ /*
+ * The following is not strictly a mempool initialisation,
+ * but there is no harm in doing it here
+ */
+ rpc_init_wait_queue(&delay_queue, "delayq");
return 0;
err_nomem:
rpc_destroy_mempool();