提交 60958892 编写于 作者: T Trond Myklebust

NFS: Convert nfsiod to use alloc_workqueue()

create_singlethread_workqueue() is deprecated.
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 4fbf6e50
......@@ -1493,7 +1493,7 @@ static int nfsiod_start(void)
{
struct workqueue_struct *wq;
dprintk("RPC: creating workqueue nfsiod\n");
wq = create_singlethread_workqueue("nfsiod");
wq = alloc_workqueue("nfsiod", WQ_RESCUER, 0);
if (wq == NULL)
return -ENOMEM;
nfsiod_workqueue = wq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册