aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ufs/ufs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ufs/ufs_vfsops.c')
-rw-r--r--sys/ufs/ufs/ufs_vfsops.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c
index 1a63e92b3e2c..0f45baed634f 100644
--- a/sys/ufs/ufs/ufs_vfsops.c
+++ b/sys/ufs/ufs/ufs_vfsops.c
@@ -214,28 +214,3 @@ ufs_uninit(vfsp)
#endif
return (0);
}
-
-/*
- * This is the generic part of fhtovp called after the underlying
- * filesystem has validated the file handle.
- *
- * Call the VFS_CHECKEXP beforehand to verify access.
- */
-int
-ufs_fhtovp(mp, nvp, gen)
- struct mount *mp;
- struct vnode *nvp;
- u_int64_t gen;
-{
- struct inode *ip;
-
- ip = VTOI(nvp);
- if (ip->i_mode == 0 || ip->i_gen != gen || ip->i_effnlink <= 0) {
- if (ip->i_mode == 0)
- vgone(nvp);
- vput(nvp);
- return (ESTALE);
- }
- vnode_create_vobject(nvp, DIP(ip, i_size), curthread);
- return (0);
-}