void vclrobjdirty(struct vnode *vp) { vclrflags(vp, VOBJDIRTY); if (vp->v_flag & VONWORKLST) vn_syncer_remove(vp); }
/* * vnode must be locked */ void vclrisdirty(struct vnode *vp) { vclrflags(vp, VISDIRTY); if (vp->v_flag & VONWORKLST) vn_syncer_remove(vp, 0); }