summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_node.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2012-01-11 02:46:42 +0000
committerrmacklem <rmacklem@FreeBSD.org>2012-01-11 02:46:42 +0000
commit1a4786f9eb9f2de35e8e6b6c352b76df4d509814 (patch)
tree33c59291b48fa0c42b35787baf7cd7f833709059 /sys/nfsclient/nfs_node.c
parent5066d3d4e0d1e4fe3de910ae60f4a94b8e623b68 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud