/* Used for on-stack allocated work items. The caller needs to wait until the wb threads have acked the work before it's safe to continue.  */
static void bdi_wait_on_work_clear(struct bdi_work *work)
/* Used for on-stack allocated work items. The caller needs to wait until the wb threads have acked the work before it's safe to continue.  */
static void bdi_wait_on_work_clear(struct bdi_work *work)
{
	wait_on_bit(&work->state, WS_USED_B, bdi_sched_wait,
		    TASK_UNINTERRUPTIBLE);
}