svn commit: r221018 - head/sys/fs/nfsclient
Rick Macklem
rmacklem at FreeBSD.org
Mon Apr 25 14:51:09 UTC 2011
Author: rmacklem
Date: Mon Apr 25 14:51:08 2011
New Revision: 221018
URL: http://svn.freebsd.org/changeset/base/221018
Log:
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
Modified:
head/sys/fs/nfsclient/nfs_clvfsops.c
Modified: head/sys/fs/nfsclient/nfs_clvfsops.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clvfsops.c Mon Apr 25 14:36:38 2011 (r221017)
+++ head/sys/fs/nfsclient/nfs_clvfsops.c Mon Apr 25 14:51:08 2011 (r221018)
@@ -318,7 +318,6 @@ nfs_statfs(struct mount *mp, struct stat
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) {
More information about the svn-src-all
mailing list