nfsd: break out comparator into separate function
authorJeff Layton <jlayton@redhat.com>
Wed, 27 Mar 2013 14:15:37 +0000 (10:15 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 15:47:22 +0000 (11:47 -0400)
commit9dc56143c298692276231735ec6546c1fac596e0
tree7aa12dd6ab8b4ee0863d3bdd3fa8d991aaa30c2e
parent0b9ea37f24e247ed69baabf27fb211aa6a3e7622
nfsd: break out comparator into separate function

Break out the function that compares the rqstp and checksum against a
reply cache entry. While we're at it, track the efficacy of the checksum
over the NFS data by tracking the cases where we would have incorrectly
matched a DRC entry if we had not tracked it or the length.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c