summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-25 00:42:16 +0000
committerphk <phk@FreeBSD.org>2005-01-25 00:42:16 +0000
commit32b3eaa1c223378ae1ccb8a55f146356bf59bcf3 (patch)
treef5b97270998eefa88e922235ffacce7eeef8ec28 /sys/fs/unionfs
parent796d435574629a3a293e13d786e313d9d473a134 (diff)
downloadFreeBSD-src-32b3eaa1c223378ae1ccb8a55f146356bf59bcf3.zip
FreeBSD-src-32b3eaa1c223378ae1ccb8a55f146356bf59bcf3.tar.gz
Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now.
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r--sys/fs/unionfs/union_vnops.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index db0d905..db24279 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -80,7 +80,6 @@ static vop_fsync_t union_fsync;
static vop_getacl_t union_getacl;
static vop_getattr_t union_getattr;
static vop_getextattr_t union_getextattr;
-static vop_getvobject_t union_getvobject;
static vop_inactive_t union_inactive;
static vop_ioctl_t union_ioctl;
static vop_lease_t union_lease;
@@ -1701,29 +1700,10 @@ union_destroyvobject(ap)
struct vnode *vp;
} */ *ap;
{
- struct vnode *vp = ap->a_vp;
- vp->v_object = NULL;
return (0);
}
-/*
- * Get VM object from the upper or lower vp
- */
-static int
-union_getvobject(ap)
- struct vop_getvobject_args /* {
- struct vnode *vp;
- struct vm_object **objpp;
- } */ *ap;
-{
- struct vnode *ovp = OTHERVP(ap->a_vp);
-
- if (ovp == NULL)
- return EINVAL;
- return (VOP_GETVOBJECT(ovp, ap->a_objpp));
-}
-
static int
union_print(ap)
struct vop_print_args /* {
@@ -2042,7 +2022,6 @@ struct vop_vector union_vnodeops = {
.vop_getacl = union_getacl,
.vop_getattr = union_getattr,
.vop_getextattr = union_getextattr,
- .vop_getvobject = union_getvobject,
.vop_getwritemount = union_getwritemount,
.vop_inactive = union_inactive,
.vop_ioctl = union_ioctl,
OpenPOWER on IntegriCloud