rxrpc: Use alloc_ordered_workqueue() to create ordered workqueues
[sfrench/cifs-2.6.git] / net / rxrpc / af_rxrpc.c
index 31f738d65f1c669529e1f0ddab8fdc89740dfb89..7eb24c25c7315164c1d25155bcff52da5e319a3a 100644 (file)
@@ -988,7 +988,7 @@ static int __init af_rxrpc_init(void)
                goto error_call_jar;
        }
 
-       rxrpc_workqueue = alloc_workqueue("krxrpcd", WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
+       rxrpc_workqueue = alloc_ordered_workqueue("krxrpcd", WQ_HIGHPRI | WQ_MEM_RECLAIM);
        if (!rxrpc_workqueue) {
                pr_notice("Failed to allocate work queue\n");
                goto error_work_queue;