Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 14:51:09 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221018 - head/sys/fs/nfsclient
Message-ID:  <201104251451.p3PEp9Hv080716@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104251451.p3PEp9Hv080716>