]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite17a8ead2aa3534475520fb5a5cde21f3c1e5a44
tree7de2f0fffd744026ef608c6df835944e8c4ba8bb
parent5877a558a0809412a580b62e5dde98bb7904b834
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