Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 22:23:51 +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: r244056 - head/sys/fs/nfsclient
Message-ID:  <201212092223.qB9MNpMn047146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sun Dec  9 22:23:50 2012
New Revision: 244056
URL: http://svnweb.freebsd.org/changeset/base/244056

Log:
  Add "nfsstat -m" support for the two new NFS mount options
  added by r244042.

Modified:
  head/sys/fs/nfsclient/nfs_clvfsops.c

Modified: head/sys/fs/nfsclient/nfs_clvfsops.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clvfsops.c	Sun Dec  9 21:26:47 2012	(r244055)
+++ head/sys/fs/nfsclient/nfs_clvfsops.c	Sun Dec  9 22:23:50 2012	(r244056)
@@ -1743,6 +1743,12 @@ void nfscl_retopts(struct nfsmount *nmp,
 	blen = buflen;
 	nfscl_printopt(nmp, (nmp->nm_flag & NFSMNT_NFSV4) != 0, "nfsv4", &buf,
 	    &blen);
+	if ((nmp->nm_flag & NFSMNT_NFSV4) != 0) {
+		nfscl_printoptval(nmp, nmp->nm_minorvers, ",minorversion", &buf,
+		    &blen);
+		nfscl_printopt(nmp, (nmp->nm_flag & NFSMNT_PNFS) != 0, ",pnfs",
+		    &buf, &blen);
+	}
 	nfscl_printopt(nmp, (nmp->nm_flag & NFSMNT_NFSV3) != 0, "nfsv3", &buf,
 	    &blen);
 	nfscl_printopt(nmp, (nmp->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) == 0,



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