diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2016-01-16 12:22:37 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2016-01-16 12:30:13 -0500 |
commit | 2f8f24e617b9d3c20fe798fa00f268364e0aa7cc (patch) | |
tree | 5a277feda0f8ac704183e1389367a7fbb9f251c1 /utils | |
parent | 612581573ba104404b86242ca35c2ff35abd5e72 (diff) | |
download | nfs-utils-2f8f24e617b9d3c20fe798fa00f268364e0aa7cc.tar.gz nfs-utils-2f8f24e617b9d3c20fe798fa00f268364e0aa7cc.tar.xz nfs-utils-2f8f24e617b9d3c20fe798fa00f268364e0aa7cc.zip |
nfsstat: show client rpc information correctly
There are 59 client rpc procedures, not 60.
The order of rpc name must be the same as define of
NFSPROC4_CLNT_xx in include/linux/nfs4.h,
not nfs4_procedures in nfs4xdr.c.
Drop duplicate rpc name "getdevlist".
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/nfsstat/nfsstat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c index b67f0aa..8376347 100644 --- a/utils/nfsstat/nfsstat.c +++ b/utils/nfsstat/nfsstat.c @@ -31,7 +31,7 @@ enum { SRVPROC3_SZ = 22, CLTPROC3_SZ = 22, SRVPROC4_SZ = 2, - CLTPROC4_SZ = 60, + CLTPROC4_SZ = 59, SRVPROC4OPS_SZ = 71, }; @@ -135,11 +135,10 @@ static const char * nfscltproc4name[CLTPROC4_SZ] = { "sequence", "get_lease_time", "reclaim_comp", - "getdevinfo", "layoutget", + "getdevinfo", "layoutcommit", "layoutreturn", - "getdevlist", "secinfo_no", "test_stateid", "free_stateid", |