projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbf6e5
)
NFS: Convert nfsiod to use alloc_workqueue()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:55:31 +0000
(16:55 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:55:31 +0000
(16:55 -0400)
create_singlethread_workqueue() is deprecated.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index
2f92664
..
2ff8142
100644
(file)
--- 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;