diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-06 20:03:58 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-06 20:03:58 +0000 |
| commit | 935ab476fa7fc5e7f14f61d03d1237e491eb0c65 (patch) | |
| tree | 80ba846298a9d181ad2cc1c7ae0ac967aaea827f /sys/fs | |
| parent | 7ab8c8c03c7aaf9cff905442b9dd9d3650d6d0f0 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -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 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; }; |
