diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-21 16:55:31 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-21 16:55:31 -0400 |
commit | 609588928fae2c977c887d6d31b1f0aae60ea09e (patch) | |
tree | 4f19ada54298ade22a11d57cba0fca203cd2522d /fs | |
parent | 4fbf6e507888da902b02a3c4f5f493fab1071312 (diff) |
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')
-rw-r--r-- | fs/nfs/inode.c | 2 |
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) | |||
1493 | { | 1493 | { |
1494 | struct workqueue_struct *wq; | 1494 | struct workqueue_struct *wq; |
1495 | dprintk("RPC: creating workqueue nfsiod\n"); | 1495 | dprintk("RPC: creating workqueue nfsiod\n"); |
1496 | wq = create_singlethread_workqueue("nfsiod"); | 1496 | wq = alloc_workqueue("nfsiod", WQ_RESCUER, 0); |
1497 | if (wq == NULL) | 1497 | if (wq == NULL) |
1498 | return -ENOMEM; | 1498 | return -ENOMEM; |
1499 | nfsiod_workqueue = wq; | 1499 | nfsiod_workqueue = wq; |