mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
SUNRPC: Cleanup to remove the last users of the RPC_WAITQ declaration
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
47fe064831
commit
a4a874990c
1 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue