summaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-09-21 22:55:31 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-09-21 22:55:31 +0200
commit609588928fae2c977c887d6d31b1f0aae60ea09e (patch)
tree4f19ada54298ade22a11d57cba0fca203cd2522d /fs/nfs/inode.c
parentSUNRPC: Convert rpciod to use the alloc_workqueue() interface (diff)
downloadlinux-609588928fae2c977c887d6d31b1f0aae60ea09e.tar.xz
linux-609588928fae2c977c887d6d31b1f0aae60ea09e.zip
NFS: Convert nfsiod to use alloc_workqueue()
create_singlethread_workqueue() is deprecated. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 2f9266406afc..2ff814272dcf 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -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;