workqueue: Change arguement of pwq_dec_nr_in_flight()
authorLai Jiangshan <laijs@linux.alibaba.com>
Tue, 17 Aug 2021 01:32:35 +0000 (09:32 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 17 Aug 2021 17:49:09 +0000 (07:49 -1000)
commitc4560c2c88a4c809800ba8e76faabaf80bf6ee89
treedcc9fc47209b0234e0a4fd9f49d61937d18a9b95
parentf97a4a1a3f8769e3452885967955e21c88f3f263
workqueue: Change arguement of pwq_dec_nr_in_flight()

Make pwq_dec_nr_in_flight() use work_data rather just work_color.

Prepare for later patch to get WORK_STRUCT_INACTIVE bit from work_data
in pwq_dec_nr_in_flight().

No functional change intended.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c