Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dlm: WQ_NON_REENTRANT is meaningless and going away

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>

authored by

Tejun Heo and committed by
David Teigland
ededf305 5ae90d8e

+1 -4
+1 -4
fs/dlm/ast.c
··· 267 267 int dlm_callback_start(struct dlm_ls *ls) 268 268 { 269 269 ls->ls_callback_wq = alloc_workqueue("dlm_callback", 270 - WQ_UNBOUND | 271 - WQ_MEM_RECLAIM | 272 - WQ_NON_REENTRANT, 273 - 0); 270 + WQ_UNBOUND | WQ_MEM_RECLAIM, 0); 274 271 if (!ls->ls_callback_wq) { 275 272 log_print("can't start dlm_callback workqueue"); 276 273 return -ENOMEM;