- Check the XLOCK prior to inspecting v_data.

This commit is contained in:
Jeff Roberson 2003-10-05 06:44:53 +00:00
parent 055cfed702
commit 4ab2c8bd52

View File

@ -790,6 +790,10 @@ loop:
nvp = TAILQ_NEXT(vp, v_nmntvnodes);
VI_LOCK(vp);
if (vp->v_iflag & VI_XLOCK) {
VI_UNLOCK(vp);
continue;
}
mtx_unlock(&mntvnode_mtx);
dep = VTODE(vp);
if (vp->v_type == VNON ||