summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 92d920a..cc636a2 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -515,7 +515,7 @@ vop_stdputpages(ap)
int
vop_stdvptofh(struct vop_vptofh_args *ap)
{
- return VFS_VPTOFH(ap->a_vp, ap->a_fhp);
+ return (EOPNOTSUPP);
}
/*
@@ -543,19 +543,6 @@ vfs_stdstatfs (mp, sbp, td)
return (EOPNOTSUPP);
}
-#if __FreeBSD_version < 800000
-int
-vfs_stdvptofh (vp, fhp)
- struct vnode *vp;
- struct fid *fhp;
-{
-
- return (EOPNOTSUPP);
-}
-#else
-#error Remove this code, vfs_vptofh was replaced with vop_vptofh.
-#endif
-
int
vfs_stdquotactl (mp, cmds, uid, arg, td)
struct mount *mp;
OpenPOWER on IntegriCloud