projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index 2f9266406afc3d88d62a001250c9f10152ebcc0a..2ff814272dcfc343066f99c6d83c04ad7c3360d7 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;