aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/nfs/nfsport.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nfs/nfsport.h')
-rw-r--r--sys/fs/nfs/nfsport.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/fs/nfs/nfsport.h b/sys/fs/nfs/nfsport.h
index 64ba4d48b3f1..5dcce15f7f64 100644
--- a/sys/fs/nfs/nfsport.h
+++ b/sys/fs/nfs/nfsport.h
@@ -421,10 +421,13 @@
/* Do an NFSv4.2 Deallocate. */
#define NFSPROC_DEALLOCATE 67
+/* Do an NFSv4.2 LayoutError. */
+#define NFSPROC_LAYOUTERROR 68
+
/*
* Must be defined as one higher than the last NFSv4.2 Proc# above.
*/
-#define NFSV42_NPROCS 68
+#define NFSV42_NPROCS 69
#endif /* NFS_V3NPROCS */
@@ -453,7 +456,7 @@ struct nfsstatsv1 {
uint64_t readlink_bios;
uint64_t biocache_readdirs;
uint64_t readdir_bios;
- uint64_t rpccnt[NFSV42_NPROCS + 12];
+ uint64_t rpccnt[NFSV42_NPROCS + 11];
uint64_t rpcretries;
uint64_t srvrpccnt[NFSV42_NOPS + NFSV4OP_FAKENOPS + 15];
uint64_t reserved_0;
@@ -518,7 +521,7 @@ struct nfsstatsov1 {
uint64_t readlink_bios;
uint64_t biocache_readdirs;
uint64_t readdir_bios;
- uint64_t rpccnt[NFSV42_NPROCS + 1];
+ uint64_t rpccnt[NFSV42_NPROCS];
uint64_t rpcretries;
uint64_t srvrpccnt[NFSV42_PURENOPS + NFSV4OP_FAKENOPS];
uint64_t reserved_0;