/* kupdated() used to do this. We cannot do it from the bdi_forker_task() or we risk deadlocking on ->s_umount. The longer term solution would be to implement sync_supers_bdi() or similar and simply do it from the bdi writeback tasks individually.  */
static int bdi_sync_supers(void *)
/* kupdated() used to do this. We cannot do it from the bdi_forker_task() or we risk deadlocking on ->s_umount. The longer term solution would be to implement sync_supers_bdi() or similar and simply do it from the bdi writeback tasks individually.  */
static int bdi_sync_supers(void *)
{
	set_user_nice(current, 0);
	while (!kthread_should_stop()) {
		set_current_state(TASK_INTERRUPTIBLE);
		schedule();
		sync_supers();
	}
	return 0;
}