diff options
author | phk <phk@FreeBSD.org> | 2004-12-06 20:03:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-06 20:03:58 +0000 |
commit | 5d1a13a0c9768a26f095929b14f28758e7bbdc57 (patch) | |
tree | 80ba846298a9d181ad2cc1c7ae0ac967aaea827f /sys/fs/udf | |
parent | 1eff61ea7fc1907c9330b7b5698b33244d9db5d1 (diff) | |
download | FreeBSD-src-5d1a13a0c9768a26f095929b14f28758e7bbdc57.zip FreeBSD-src-5d1a13a0c9768a26f095929b14f28758e7bbdc57.tar.gz |
ufs vfs_mountedon(), rely on vfs_mount.c calling VFS_STATFS()
Diffstat (limited to 'sys/fs/udf')
-rw-r--r-- | sys/fs/udf/udf_vfsops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index c98b651..6a815af 100644 --- a/sys/fs/udf/udf_vfsops.c +++ b/sys/fs/udf/udf_vfsops.c @@ -194,7 +194,6 @@ udf_mount(struct mount *mp, struct thread *td) struct export_args *export; struct vfsoptlist *opts; char *fspec, *cs_disk, *cs_local; - size_t size; int error, len, *udf_flags; struct nameidata nd, *ndp = &nd; @@ -279,9 +278,7 @@ udf_mount(struct mount *mp, struct thread *td) #endif } - copystr(fspec, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &size); - bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size); - udf_statfs(mp, &mp->mnt_stat, td); + vfs_mountedfrom(mp, fspec); return 0; }; |