From 935ab476fa7fc5e7f14f61d03d1237e491eb0c65 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 6 Dec 2004 20:03:58 +0000 Subject: [PATCH] ufs vfs_mountedon(), rely on vfs_mount.c calling VFS_STATFS() --- sys/fs/udf/udf_vfsops.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index c98b65165d4..6a815af8cad 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; };