diff options
author | phk <phk@FreeBSD.org> | 2004-12-06 20:02:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-06 20:02:13 +0000 |
commit | 1eff61ea7fc1907c9330b7b5698b33244d9db5d1 (patch) | |
tree | b16d4fa14e03bc9ed39697e4aa103ef9e068b3db /sys/fs/fdescfs | |
parent | 463e576c387bd3ccc95ed6e162a842ecf828e7e2 (diff) | |
download | FreeBSD-src-1eff61ea7fc1907c9330b7b5698b33244d9db5d1.zip FreeBSD-src-1eff61ea7fc1907c9330b7b5698b33244d9db5d1.tar.gz |
Use vfs_mountedfrom(), rely on vfs_mount.c calling VFS_STATFS().
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index d3b0be7..2492fef 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -88,9 +88,7 @@ fdesc_mount(struct mount *mp, struct thread *td) mp->mnt_data = (qaddr_t) fmp; vfs_getnewfsid(mp); - bzero(mp->mnt_stat.f_mntfromname, MNAMELEN); - bcopy("fdescfs", mp->mnt_stat.f_mntfromname, sizeof("fdescfs")); - (void)fdesc_statfs(mp, &mp->mnt_stat, td); + vfs_mountedfrom(mp, "fdescfs"); return (0); } |