summaryrefslogtreecommitdiffstats
path: root/tools/nlmtest
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-06-23 07:21:52 -0400
committerSteve Dickson <steved@redhat.com>2008-06-23 07:21:52 -0400
commit5be04020788598cb811e51c4b1342cf0796cbb65 (patch)
tree5ce1355088cb3c1dd5b31b42188b2cadc5921e4a /tools/nlmtest
parentc6acce67dce1cf89742a6bc4635c1eeda82e9591 (diff)
downloadnfs-utils-5be04020788598cb811e51c4b1342cf0796cbb65.tar.gz
nfs-utils-5be04020788598cb811e51c4b1342cf0796cbb65.tar.xz
nfs-utils-5be04020788598cb811e51c4b1342cf0796cbb65.zip
The nfsstat program reads /proc/net/rpc/* files to gets info about
calls. This info is output as unsigned numbers (at least on any relatively recent kernel). When nfsstat prints these numbers, they are printed as signed integers. When the call counters reach 2^31, things start being printed as negative numbers. This patch changes nfsstat to read and print all counters as unsigned integers. Tested by hacking up a kernel to initialize call counters to 2^31+1. Thanks to Takafumi Miki for the initial version of this patch. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tools/nlmtest')
0 files changed, 0 insertions, 0 deletions