Commit 4fbf6e50 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Convert rpciod to use the alloc_workqueue() interface

create_workqueue() is a deprecated function.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d688e110
...@@ -908,7 +908,7 @@ static int rpciod_start(void) ...@@ -908,7 +908,7 @@ static int rpciod_start(void)
* Create the rpciod thread and wait for it to start. * Create the rpciod thread and wait for it to start.
*/ */
dprintk("RPC: creating workqueue rpciod\n"); dprintk("RPC: creating workqueue rpciod\n");
wq = create_workqueue("rpciod"); wq = alloc_workqueue("rpciod", WQ_RESCUER, 0);
rpciod_workqueue = wq; rpciod_workqueue = wq;
return rpciod_workqueue != NULL; return rpciod_workqueue != NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment