workqueue: Warn attempt to flush system-wide workqueues.

Based on commit c4f135d643 ("workqueue: Wrap flush_workqueue() using
a macro"), all in-tree users stopped flushing system-wide workqueues.
Therefore, start emitting runtime message so that all out-of-tree users
will understand that they need to update their code.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Tetsuo Handa 2023-06-30 21:28:53 +09:00 • committed by Tejun Heo
commit 20bdedafd2
2 changed files with 8 additions and 47 deletions