summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
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/nullfs
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/nullfs')
-rw-r--r--sys/fs/nullfs/null_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index 44d9226..a85ebe0 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -740,7 +740,6 @@ null_createvobject(struct vop_createvobject_args *ap)
error = VOP_CREATEVOBJECT(lowervp, ap->a_cred, ap->a_td);
if (error)
return (error);
- vp->v_vflag |= VV_OBJBUF;
return (0);
}
@@ -752,7 +751,7 @@ null_destroyvobject(struct vop_destroyvobject_args *ap)
{
struct vnode *vp = ap->a_vp;
- vp->v_vflag &= ~VV_OBJBUF;
+ vp->v_object = NULL;
return (0);
}
OpenPOWER on IntegriCloud