nfsd: factor out hash functions for export caches.
authorNeilBrown <neilb@suse.de>
Wed, 3 Feb 2010 06:31:31 +0000 (17:31 +1100)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 16 Mar 2010 22:05:11 +0000 (18:05 -0400)
commit61f8603d93fa0b0e2f73be7a4f048696417a24a3
tree7de2f0fffd744026ef608c6df835944e8c4ba8bb
parentd202cce8963d9268ff355a386e20243e8332b308
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>
fs/nfsd/export.c