diff options
author | NeilBrown <neilb@suse.de> | 2010-02-03 01:31:31 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-16 18:05:11 -0400 |
commit | 61f8603d93fa0b0e2f73be7a4f048696417a24a3 (patch) | |
tree | 7de2f0fffd744026ef608c6df835944e8c4ba8bb /lib/percpu_counter.c | |
parent | d202cce8963d9268ff355a386e20243e8332b308 (diff) |
nfsd: factor out hash functions for export caches.
Both the _lookup and the _update functions for these two caches
independently calculate the hash of the key.
So factor out that code for improved reuse.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions