summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs/nwfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nwfs/nwfs_vfsops.c')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 2baf183..bec5d1b 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -418,13 +418,5 @@ nwfs_statfs(mp, sbp, td)
/* free file nodes in fs */
sbp->f_ffree = vi.available_dir_entries;
sbp->f_flags = 0; /* copy of mount exported flags */
- if (sbp != &mp->mnt_stat) {
- sbp->f_fsid = mp->mnt_stat.f_fsid; /* filesystem id */
- sbp->f_owner = mp->mnt_stat.f_owner; /* user that mounted the filesystem */
- sbp->f_type = mp->mnt_vfc->vfc_typenum; /* type of filesystem */
- bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN);
- bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN);
- }
- strncpy(sbp->f_fstypename, mp->mnt_vfc->vfc_name, MFSNAMELEN);
return 0;
}
OpenPOWER on IntegriCloud