diff options
Diffstat (limited to 'sys/fs/unionfs/union_vnops.c')
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 8035799..227e817 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -190,7 +190,7 @@ union_lookup1(udvp, pdvp, vpp, cnp) * hierarchy. */ if (cnp->cn_flags & ISDOTDOT) { - while ((dvp != udvp) && (dvp->v_flag & VROOT)) { + while ((dvp != udvp) && (dvp->v_vflag & VV_ROOT)) { /* * Don't do the NOCROSSMOUNT check * at this level. By definition, @@ -1625,7 +1625,7 @@ union_getwritemount(ap) if (uvp == NULL) { VI_LOCK(vp); - if (vp->v_flag & VFREE) { + if (vp->v_iflag & VI_FREE) { VI_UNLOCK(vp); return (EOPNOTSUPP); } @@ -1788,7 +1788,7 @@ union_createvobject(ap) { struct vnode *vp = ap->a_vp; - vp->v_flag |= VOBJBUF; + vp->v_vflag |= VV_OBJBUF; return (0); } @@ -1803,7 +1803,7 @@ union_destroyvobject(ap) { struct vnode *vp = ap->a_vp; - vp->v_flag &= ~VOBJBUF; + vp->v_vflag &= ~VV_OBJBUF; return (0); } |