/* sync everything. Start out by waking pdflush, because that writes back all queues in parallel.  */
SYSCALL_DEFINE0(sync)
/* sync everything. Start out by waking pdflush, because that writes back all queues in parallel.  */
SYSCALL_DEFINE0(sync)
{
	wakeup_flusher_threads(0);
	sync_filesystems(0);
	sync_filesystems(1);
	if (unlikely(laptop_mode))
		laptop_sync_completion();
	return 0;
}