- Check the XLOCK prior to inspecting v_data.

This commit is contained in:
jeff 2003-10-05 06:44:53 +00:00
parent 9f28715adc
commit f2649d6926

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 ||