提交 4fbf6e50 编写于 作者: T Trond Myklebust

SUNRPC: Convert rpciod to use the alloc_workqueue() interface

create_workqueue() is a deprecated function.
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 d688e110
......@@ -908,7 +908,7 @@ static int rpciod_start(void)
* Create the rpciod thread and wait for it to start.
*/
dprintk("RPC: creating workqueue rpciod\n");
wq = create_workqueue("rpciod");
wq = alloc_workqueue("rpciod", WQ_RESCUER, 0);
rpciod_workqueue = wq;
return rpciod_workqueue != NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册