summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-02-16 17:32:41 +0000
committerpjd <pjd@FreeBSD.org>2007-02-16 17:32:41 +0000
commita7213548bb4e900a339793a10287742fdff22e23 (patch)
tree3feaebd85a017ad78a5fe55b3bbd00e00cfb98e7 /sys/kern/vfs_init.c
parented1bce702fd10f7ffb5f10660c8f343d6814dd59 (diff)
downloadFreeBSD-src-a7213548bb4e900a339793a10287742fdff22e23.zip
FreeBSD-src-a7213548bb4e900a339793a10287742fdff22e23.tar.gz
Remove VFS_VPTOFH entirely. API is already broken and it is good time to
do it. Suggested by: rwatson
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index 7b2aeef..3ce65ed 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -215,13 +215,6 @@ vfs_register(struct vfsconf *vfc)
if (vfsops->vfs_checkexp == NULL)
/* check if file system is exported */
vfsops->vfs_checkexp = vfs_stdcheckexp;
-#if __FreeBSD_version < 800000
- if (vfsops->vfs_vptofh == NULL)
- /* turn a vnode into an NFS file handle */
- vfsops->vfs_vptofh = vfs_stdvptofh;
-#else
-#error Remove this code, vfs_vptofh was replaced with vop_vptofh.
-#endif
if (vfsops->vfs_init == NULL)
/* file system specific initialisation */
vfsops->vfs_init = vfs_stdinit;
OpenPOWER on IntegriCloud