diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2012-01-11 02:46:42 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2012-01-11 02:46:42 +0000 |
commit | 1a4786f9eb9f2de35e8e6b6c352b76df4d509814 (patch) | |
tree | 33c59291b48fa0c42b35787baf7cd7f833709059 /sys/nfsclient/nfs_node.c | |
parent | 5066d3d4e0d1e4fe3de910ae60f4a94b8e623b68 (diff) | |
download | FreeBSD-src-1a4786f9eb9f2de35e8e6b6c352b76df4d509814.zip FreeBSD-src-1a4786f9eb9f2de35e8e6b6c352b76df4d509814.tar.gz |
jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s"
would go negative after using the "-z" option to zero out the stats.
This patch fixes that by not zeroing out the srvcache_size field
for "-z", since it is the size of the cache and not a counter.
MFC after: 2 weeks
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
0 files changed, 0 insertions, 0 deletions