summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-25 14:51:08 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-25 14:51:08 +0000
commit0c8069d66c0cb7033c5562287cacba9403361fdf (patch)
tree7b8a2d932644a04f171158f87d4ed3b835a54562
parent5aa71a9a0d5bc68143b7dc8cd2af4fa7f013547d (diff)
downloadFreeBSD-src-0c8069d66c0cb7033c5562287cacba9403361fdf.zip
FreeBSD-src-0c8069d66c0cb7033c5562287cacba9403361fdf.tar.gz
Fix the experimental NFS client so that it does not bogusly
set the f_flags field of "struct statfs". This had the interesting effect of making the NFSv4 mounts "disappear" after r221014, since NFSMNT_NFSV4 and MNT_IGNORE became the same bit. MFC after: 2 weeks
-rw-r--r--sys/fs/nfsclient/nfs_clvfsops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clvfsops.c b/sys/fs/nfsclient/nfs_clvfsops.c
index 7928c15..006179d 100644
--- a/sys/fs/nfsclient/nfs_clvfsops.c
+++ b/sys/fs/nfsclient/nfs_clvfsops.c
@@ -318,7 +318,6 @@ nfs_statfs(struct mount *mp, struct statfs *sbp)
if (gotfsinfo || (nmp->nm_flag & NFSMNT_NFSV4))
nfscl_loadfsinfo(nmp, &fs);
nfscl_loadsbinfo(nmp, &sb, sbp);
- sbp->f_flags = nmp->nm_flag;
sbp->f_iosize = newnfs_iosize(nmp);
mtx_unlock(&nmp->nm_mtx);
if (sbp != &mp->mnt_stat) {
OpenPOWER on IntegriCloud