summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-05-01 22:19:52 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-05-01 22:19:52 +0000
commit41a79afc7f58fd4316515a99af8bc28ac386a221 (patch)
treeb29264dddbf4ec17b0bcd5f992cf8eea8c9e8bf7 /sys/nfs
parent157eab1b23f13b6b33cd6b7f8fe55110482dc15d (diff)
downloadFreeBSD-src-41a79afc7f58fd4316515a99af8bc28ac386a221.zip
FreeBSD-src-41a79afc7f58fd4316515a99af8bc28ac386a221.tar.gz
Add the kernel support needed to zero out the nfsstats
structure for the new NFS subsystem. This will be used by nfsstats.c to implement the "-z" option. MFC after: 2 weeks
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfssvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfs/nfssvc.h b/sys/nfs/nfssvc.h
index d756dbf..e226e2b 100644
--- a/sys/nfs/nfssvc.h
+++ b/sys/nfs/nfssvc.h
@@ -64,5 +64,6 @@
#define NFSSVC_CBADDSOCK 0x00200000
#define NFSSVC_GETSTATS 0x00400000
#define NFSSVC_BACKUPSTABLE 0x00800000
+#define NFSSVC_ZEROSTATS 0x01000000 /* modifier for GETSTATS */
#endif /* _NFS_NFSSVC_H */
OpenPOWER on IntegriCloud