From a7213548bb4e900a339793a10287742fdff22e23 Mon Sep 17 00:00:00 2001 From: pjd Date: Fri, 16 Feb 2007 17:32:41 +0000 Subject: Remove VFS_VPTOFH entirely. API is already broken and it is good time to do it. Suggested by: rwatson --- sys/kern/vfs_default.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'sys/kern/vfs_default.c') 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; -- cgit v1.1