From: Trond Myklebust Date: Tue, 21 Sep 2010 20:54:34 +0000 (-0400) Subject: SUNRPC: Convert rpciod to use the alloc_workqueue() interface X-Git-Tag: accepted/tizen/common/20141203.182822~9809^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fbf6e507888da902b02a3c4f5f493fab1071312;p=platform%2Fkernel%2Flinux-arm64.git SUNRPC: Convert rpciod to use the alloc_workqueue() interface create_workqueue() is a deprecated function. Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index cace604..2b08c3d2 100644 --- 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; }