summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-24 13:13:57 +0000
committerphk <phk@FreeBSD.org>2005-01-24 13:13:57 +0000
commitd5c135375c366bd87eec9c632eece3157076af35 (patch)
treeeb53492bafcbb3035fc103f1e90294f46ac8ac7a /sys/fs/unionfs
parente5b74a2850fcb72f8b86a8034c494dc10c45982d (diff)
downloadFreeBSD-src-d5c135375c366bd87eec9c632eece3157076af35.zip
FreeBSD-src-d5c135375c366bd87eec9c632eece3157076af35.tar.gz
Kill the VV_OBJBUF and test the v_object for NULL instead.
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r--sys/fs/unionfs/union_vnops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index 967bec3..8094b06 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -1711,9 +1711,7 @@ union_createvobject(ap)
struct thread *td;
} */ *ap;
{
- struct vnode *vp = ap->a_vp;
- vp->v_vflag |= VV_OBJBUF;
return (0);
}
@@ -1728,7 +1726,7 @@ union_destroyvobject(ap)
{
struct vnode *vp = ap->a_vp;
- vp->v_vflag &= ~VV_OBJBUF;
+ vp->v_object = NULL;
return (0);
}
OpenPOWER on IntegriCloud