]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r299226
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 May 2016 20:50:25 +0000 (20:50 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 May 2016 20:50:25 +0000 (20:50 +0000)
commit77089dbb7071721e5f875fed3b3adf82d78a3df5
tree2b319dc6abf7e7c4b37a5cfff6c9413b9cffc32c
parent48a15e17adfa9775e6d48d59bfdf7fcf0e2c2ef6
MFC: r299226
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@300379 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdsocket.c