summaryrefslogtreecommitdiff
path: root/sys/fs/udf/udf_vfsops.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-12-05 22:41:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-12-05 22:41:02 +0000
commit743312367ab3548756da9073d12bf6be6bb5578a (patch)
tree456f27e8cc68e4b4148ad4488fade6e1454b7acc /sys/fs/udf/udf_vfsops.c
parent061f5ec825bb5b10e898d7ec7e505d1a03b17b39 (diff)
Notes
Diffstat (limited to 'sys/fs/udf/udf_vfsops.c')
-rw-r--r--sys/fs/udf/udf_vfsops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index 71670d9b42d1..c98b65165d44 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -572,12 +572,6 @@ udf_statfs(struct mount *mp, struct statfs *sbp, struct thread *td)
sbp->f_bavail = 0;
sbp->f_files = 0;
sbp->f_ffree = 0;
- if (sbp != &mp->mnt_stat) {
- sbp->f_type = mp->mnt_vfc->vfc_typenum;
- bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN);
- bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN);
- }
-
return 0;
}