ceph: 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> Reviewed-by: Sage Weil <sage@inktank.com> Cc: ceph-devel@vger.kernel.org
This commit is contained in:
parent
2fbcbff1d6
commit
4d1829a59d
@ -290,7 +290,7 @@ int ceph_msgr_init(void)
|
|||||||
if (ceph_msgr_slab_init())
|
if (ceph_msgr_slab_init())
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
ceph_msgr_wq = alloc_workqueue("ceph-msgr", WQ_NON_REENTRANT, 0);
|
ceph_msgr_wq = alloc_workqueue("ceph-msgr", 0, 0);
|
||||||
if (ceph_msgr_wq)
|
if (ceph_msgr_wq)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user