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>
This commit is contained in:
parent
5ae90d8e46
commit
ededf305a8
1 changed files with 1 additions and 4 deletions
|
@ -267,10 +267,7 @@ void dlm_callback_work(struct work_struct *work)
|
||||||
int dlm_callback_start(struct dlm_ls *ls)
|
int dlm_callback_start(struct dlm_ls *ls)
|
||||||
{
|
{
|
||||||
ls->ls_callback_wq = alloc_workqueue("dlm_callback",
|
ls->ls_callback_wq = alloc_workqueue("dlm_callback",
|
||||||
WQ_UNBOUND |
|
WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
|
||||||
WQ_MEM_RECLAIM |
|
|
||||||
WQ_NON_REENTRANT,
|
|
||||||
0);
|
|
||||||
if (!ls->ls_callback_wq) {
|
if (!ls->ls_callback_wq) {
|
||||||
log_print("can't start dlm_callback workqueue");
|
log_print("can't start dlm_callback workqueue");
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Add table
Reference in a new issue