The --list option does not work on server stats. nfs-utils-1-1-6-rc5
authorSteve Dickson <steved@redhat.com>
Wed, 8 Apr 2009 14:26:26 +0000 (10:26 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 8 Apr 2009 14:26:26 +0000 (10:26 -0400)
commitfa5352f78533c7ad1d8603c1a4ba08fa82768e6b
tree25450219322a99638ccaaca5d3ec176390d2f64c
parent500fab45f73c0ba1bc442157ef3d7744f20e6b2a
The --list option does not work on server stats.

The print_stats_list() routine was using the client's
stats to decide whether to display any stats. This did
not work when there was only server stats.

This patch breaks up print_stats_list into two different
routines allowing both server and clients stats to be
listed.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsstat/nfsstat.c