瀏覽代碼

SUNRPC: Convert rpciod to use the alloc_workqueue() interface

create_workqueue() is a deprecated function.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust 14 年之前
父節點
當前提交
4fbf6e5078
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/sunrpc/sched.c

+ 1 - 1
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;
 }