]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Stop "nfsstat -z" from clearing counts of NFSv4 state structures.
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 25 Nov 2016 23:28:09 +0000 (23:28 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 25 Nov 2016 23:28:09 +0000 (23:28 +0000)
commit1a2079d936b9a890448a2dbe12d295364f0a913d
tree88c6d2fe3a2aa6fe21b886175578262cf11c7a20
parent5ccc0779d4dae840550bbea60eb0e95ce7597b43
Stop "nfsstat -z" from clearing counts of NFSv4 state structures.

The "-z" option on nfsstats was erroneously zeroing out the counts
of NFSv4 state structures. These counts will normally go back down
to zero as state is released. When zeroed out by "-z", these counts
can go negative. This patch fixes this problem.

MFC after: 2 weeks
sys/fs/nfs/nfs_commonport.c