Commit 60958892 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Convert nfsiod to use alloc_workqueue()

create_singlethread_workqueue() is deprecated.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 4fbf6e50
...@@ -1493,7 +1493,7 @@ static int nfsiod_start(void) ...@@ -1493,7 +1493,7 @@ static int nfsiod_start(void)
{ {
struct workqueue_struct *wq; struct workqueue_struct *wq;
dprintk("RPC: creating workqueue nfsiod\n"); dprintk("RPC: creating workqueue nfsiod\n");
wq = create_singlethread_workqueue("nfsiod"); wq = alloc_workqueue("nfsiod", WQ_RESCUER, 0);
if (wq == NULL) if (wq == NULL)
return -ENOMEM; return -ENOMEM;
nfsiod_workqueue = wq; nfsiod_workqueue = wq;
......
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