vfs_syncwait
if (vfs_syncwait(p, 1))
int vfs_syncwait(struct proc *, int); /* sync and wait for complete */