]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita67b46d25053a371689760b04c8e38a9ac41f65c
tree7aa12dd6ab8b4ee0863d3bdd3fa8d991aaa30c2e
parent27072c9155cc460c430bdee22786052415bac6bd
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