|
@@ -1225,7 +1225,7 @@ static int try_to_grab_pending(struct work_struct *work, bool is_dwork,
|
|
|
pwq_activate_delayed_work(work);
|
|
|
|
|
|
list_del_init(&work->entry);
|
|
|
- pwq_dec_nr_in_flight(get_work_pwq(work), get_work_color(work));
|
|
|
+ pwq_dec_nr_in_flight(pwq, get_work_color(work));
|
|
|
|
|
|
/* work->data points to pwq iff queued, point to pool */
|
|
|
set_work_pool_and_keep_pending(work, pool->id);
|