dlm: WQ_NON_REENTRANT is meaningless and going away
authorTejun Heo <tj@kernel.org>
Tue, 30 Jul 2013 12:40:24 +0000 (08:40 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 30 Jul 2013 14:24:24 +0000 (09:24 -0500)
dbf2576e37 ("workqueue: make all workqueues non-reentrant") made
WQ_NON_REENTRANT no-op and the flag is going away.  Remove its usages.

This patch doesn't introduce any behavior changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c

index 27a6ba9aaeec7e410c1002b72cd81c344c3d76ef..0e90f0c91b931c74d2c0fdd51b9c54de3330e32f 100644 (file)
@@ -267,10 +267,7 @@ void dlm_callback_work(struct work_struct *work)
 int dlm_callback_start(struct dlm_ls *ls)
 {
        ls->ls_callback_wq = alloc_workqueue("dlm_callback",
-                                            WQ_UNBOUND |
-                                            WQ_MEM_RECLAIM |
-                                            WQ_NON_REENTRANT,
-                                            0);
+                                            WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
        if (!ls->ls_callback_wq) {
                log_print("can't start dlm_callback workqueue");
                return -ENOMEM;