HomeFreeBSD

Don't increment srvrpccnt[] for the NFSv4.1 operations.

Description

Don't increment srvrpccnt[] for the NFSv4.1 operations.

When support for NFSv4.1 was added to the NFS server, it broke
the server rpc count stats, since newnfsstats.srvrpccnt[] doesn't
have entries for the new NFSv4.1 operations.
Without this patch, the code was incrementing bogus entries in
newnfsstats for the new NFSv4.1 operations.
This patch is an interim fix. The nfsstats structure needs to be
updated and that will come in a future commit.

Reported by: cem
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS299225: MFC: r298523
Branches
Unknown
Tags
Unknown