summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
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/nullfs
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/nullfs')
-rw-r--r--sys/fs/nullfs/null_vnops.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index ba6f43d..76d4cd6 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -764,16 +764,6 @@ null_destroyvobject(struct vop_destroyvobject_args *ap)
return (0);
}
-static int
-null_getvobject(struct vop_getvobject_args *ap)
-{
- struct vnode *lvp = NULLVPTOLOWERVP(ap->a_vp);
-
- if (lvp == NULL)
- return EINVAL;
- return (VOP_GETVOBJECT(lvp, ap->a_objpp));
-}
-
/*
* Global vfs data structures
*/
@@ -785,7 +775,6 @@ struct vop_vector null_vnodeops = {
.vop_close = null_close,
.vop_destroyvobject = null_destroyvobject,
.vop_getattr = null_getattr,
- .vop_getvobject = null_getvobject,
.vop_getwritemount = vop_stdgetwritemount,
.vop_inactive = null_inactive,
.vop_islocked = null_islocked,
OpenPOWER on IntegriCloud