forked from Minki/linux
NFS: Convert nfsiod to use alloc_workqueue()
create_singlethread_workqueue() is deprecated. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4fbf6e5078
commit
609588928f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user