commit | 17cebf658e088935d4bdebfc7ad9800e9fc4a0b2 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Aug 12 16:55:22 2010 +1000 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Sep 07 19:21:19 2010 -0400 |
tree | 7bc6c1d8de35bce17da188cba13688671d517907 | |
parent | 1132b26029918aa8fb5ba24a81b5c234e61f356c [diff] |
sunrpc: extract some common sunrpc_cache code from nfsd Rather can duplicating this idiom twice, put it in an inline function. This reduces the usage of 'expiry_time' out side the sunrpc/cache.c code and thus the impact of a change that is about to be made to that field. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>