commit | 2f50d8b63dd6e5320a9d223298df19df3502da29 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Feb 03 17:31:31 2010 +1100 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Sun Mar 14 18:08:37 2010 -0400 |
tree | c1b9aa6c882151bcdadd994233d7b8f33a43b9fb | |
parent | 3af4974eb2c7867d6e160977195dfde586d0e564 [diff] |
sunrpc/cache: factor out cache_is_expired This removes a tiny bit of code duplication, but more important prepares for following patch which will perform the expiry check in cache_lookup and the rest of the validity check in cache_check. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>