projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d688e11
)
SUNRPC: Convert rpciod to use the alloc_workqueue() interface
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:54:34 +0000
(16:54 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:54:34 +0000
(16:54 -0400)
create_workqueue() is a deprecated function.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index cace6049e4a5a1d3184829231aa776d7689ad8d0..2b08c3d2f4db56ef1b5f7b28e6deba45b27d805a 100644
(file)
--- a/
net/sunrpc/sched.c
+++ b/
net/sunrpc/sched.c
@@
-908,7
+908,7
@@
static int rpciod_start(void)
* Create the rpciod thread and wait for it to start.
*/
dprintk("RPC: creating workqueue rpciod\n");
- wq =
create_workqueue("rpciod"
);
+ wq =
alloc_workqueue("rpciod", WQ_RESCUER, 0
);
rpciod_workqueue = wq;
return rpciod_workqueue != NULL;
}