summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfs/nfsproto.h
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2016-10-03 00:10:14 +0000
committerrmacklem <rmacklem@FreeBSD.org>2016-10-03 00:10:14 +0000
commit569685999e722c383eeaaeb2841ff7d0521a6641 (patch)
tree489a1e370facf7df271882a49b1a9b9902ca9bc1 /sys/fs/nfs/nfsproto.h
parent2cb4db0992c614f2818c21a26ef2b4f7ed296598 (diff)
downloadFreeBSD-src-569685999e722c383eeaaeb2841ff7d0521a6641.zip
FreeBSD-src-569685999e722c383eeaaeb2841ff7d0521a6641.tar.gz
MFC: r304026
Update the nfsstats structure to include the changes needed by the patch in D1626 plus changes so that it includes counts for NFSv4.1 (and the draft of NFSv4.2). Also, make all the counts uint64_t and add a vers field at the beginning, so that future revisions can easily be implemented. There is code in place to handle the old vesion of the nfsstats structure for backwards binary compatibility. Subsequent commits will update nfsstat(8) to use the new fields.
Diffstat (limited to 'sys/fs/nfs/nfsproto.h')
-rw-r--r--sys/fs/nfs/nfsproto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nfs/nfsproto.h b/sys/fs/nfs/nfsproto.h
index 08e7b24..daa49a0 100644
--- a/sys/fs/nfs/nfsproto.h
+++ b/sys/fs/nfs/nfsproto.h
@@ -345,10 +345,10 @@
/*
* NFSPROC_NOOP is a fake op# that can't be the same as any V2/3/4 Procedure
- * or Operation#. Since the NFS V4 Op #s go higher, use NFSV41_NOPS, which
+ * or Operation#. Since the NFS V4 Op #s go higher, use NFSV42_NOPS, which
* is one greater than the highest Op#.
*/
-#define NFSPROC_NOOP NFSV41_NOPS
+#define NFSPROC_NOOP NFSV42_NOPS
/* Actual Version 2 procedure numbers */
#define NFSV2PROC_NULL 0
OpenPOWER on IntegriCloud