]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
workqueue: Fix flag collision
authorBen Hutchings <ben@decadent.org.uk>
Sun, 3 Sep 2017 00:18:41 +0000 (01:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2017 21:03:46 +0000 (14:03 -0700)
commit18f9ff5c8ad53a70aff203d79dc76fada3829101
tree7ed88e6a781613c4df8ea80505023cf5627decfc
parente7023d138bb0edf64ee36aa7a7d1dc124cfdacdd
workqueue: Fix flag collision

commit fbf1c41fc0f4d3574ac2377245efd666c1fa3075 upstream.

Commit 0a94efb5acbb ("workqueue: implicit ordered attribute should be
overridable") introduced a __WQ_ORDERED_EXPLICIT flag but gave it the
same value as __WQ_LEGACY.  I don't believe these were intended to
mean the same thing, so renumber __WQ_ORDERED_EXPLICIT.

Fixes: 0a94efb5acbb ("workqueue: implicit ordered attribute should be ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/workqueue.h