diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-18 13:24:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:41 -0500 |
commit | a4a874990cbc1bc5df6f357c4f2d043cd1923e15 (patch) | |
tree | b7a0bcc477fc277f8062e08151acccfbf527c6f6 /net | |
parent | 47fe064831a2a949f6c1e0086f61a105e99ea867 (diff) |
SUNRPC: Cleanup to remove the last users of the RPC_WAITQ declaration
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/sched.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index ce6cfae91e88..40ce6f6672d6 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -45,7 +45,7 @@ static void rpc_release_task(struct rpc_task *task); | |||
45 | /* | 45 | /* |
46 | * RPC tasks sit here while waiting for conditions to improve. | 46 | * RPC tasks sit here while waiting for conditions to improve. |
47 | */ | 47 | */ |
48 | static RPC_WAITQ(delay_queue, "delayq"); | 48 | static struct rpc_wait_queue delay_queue; |
49 | 49 | ||
50 | /* | 50 | /* |
51 | * rpciod-related stuff | 51 | * rpciod-related stuff |
@@ -1059,6 +1059,11 @@ rpc_init_mempool(void) | |||
1059 | goto err_nomem; | 1059 | goto err_nomem; |
1060 | if (!rpciod_start()) | 1060 | if (!rpciod_start()) |
1061 | goto err_nomem; | 1061 | goto err_nomem; |
1062 | /* | ||
1063 | * The following is not strictly a mempool initialisation, | ||
1064 | * but there is no harm in doing it here | ||
1065 | */ | ||
1066 | rpc_init_wait_queue(&delay_queue, "delayq"); | ||
1062 | return 0; | 1067 | return 0; |
1063 | err_nomem: | 1068 | err_nomem: |
1064 | rpc_destroy_mempool(); | 1069 | rpc_destroy_mempool(); |