summaryrefslogtreecommitdiff
path: root/sys/fs/udf/udf_vfsops.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-12-06 20:03:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-12-06 20:03:58 +0000
commit935ab476fa7fc5e7f14f61d03d1237e491eb0c65 (patch)
tree80ba846298a9d181ad2cc1c7ae0ac967aaea827f /sys/fs/udf/udf_vfsops.c
parent7ab8c8c03c7aaf9cff905442b9dd9d3650d6d0f0 (diff)
Notes
Diffstat (limited to 'sys/fs/udf/udf_vfsops.c')
-rw-r--r--sys/fs/udf/udf_vfsops.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index c98b65165d44..6a815af8cadd 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;
};