diff options
author | trhodes <trhodes@FreeBSD.org> | 2007-06-01 14:57:19 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2007-06-01 14:57:19 +0000 |
commit | aae93b87b9cddb091b779fdb94404339ddf35476 (patch) | |
tree | f0795a28d125b2341e0ccb2a2d1a6b295bac1331 | |
parent | 17260ba6f1fe4f1f853e1660c3c55dce5eb30f83 (diff) | |
download | FreeBSD-src-aae93b87b9cddb091b779fdb94404339ddf35476.zip FreeBSD-src-aae93b87b9cddb091b779fdb94404339ddf35476.tar.gz |
Garbage collect msdosfs_fhtovp; it appears unused and I have been using
MSDOSFS without this function and problems for the last month.
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 3b53b0a..699c0ef 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -106,7 +106,6 @@ struct iconv_functions *msdosfs_iconv = NULL; static int update_mp(struct mount *mp, struct thread *td); static int mountmsdosfs(struct vnode *devvp, struct mount *mp, struct thread *td); -static vfs_fhtovp_t msdosfs_fhtovp; static vfs_mount_t msdosfs_mount; static vfs_root_t msdosfs_root; static vfs_statfs_t msdosfs_statfs; @@ -912,26 +911,7 @@ loop: return (allerror); } -static int -msdosfs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) -{ - struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); - struct defid *defhp = (struct defid *) fhp; - struct denode *dep; - int error; - - error = deget(pmp, defhp->defid_dirclust, defhp->defid_dirofs, &dep); - if (error) { - *vpp = NULLVP; - return (error); - } - *vpp = DETOV(dep); - vnode_create_vobject(*vpp, dep->de_FileSize, curthread); - return (0); -} - static struct vfsops msdosfs_vfsops = { - .vfs_fhtovp = msdosfs_fhtovp, .vfs_mount = msdosfs_mount, .vfs_cmount = msdosfs_cmount, .vfs_root = msdosfs_root, |