diff options
author | NeilBrown <neilb@suse.de> | 2009-09-09 16:32:54 +1000 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-09-11 17:08:54 -0400 |
commit | 908329f2c08b8b5af7b394f709b0ee9c43b93041 (patch) | |
tree | 2a1940cebcde4659b6eccd0f054511d2d5f28d59 /include/linux/oom.h | |
parent | 9e4c6379a62d94d3362b12c7a00f2105df6d7eeb (diff) | |
download | op-kernel-dev-908329f2c08b8b5af7b394f709b0ee9c43b93041.zip op-kernel-dev-908329f2c08b8b5af7b394f709b0ee9c43b93041.tar.gz |
sunrpc/cache: simplify cache_fresh_locked and cache_fresh_unlocked.
The extra call to cache_revisit_request in cache_fresh_unlocked is not
needed, as should have been fairly clear at the time of
commit 4013edea9a0b6cdcb1fdf5d4011e47e068fd6efb
If there are requests to be revisited, then we can be sure that
CACHE_PENDING is set, so the second call is sufficient.
So remove the first call.
Then remove the 'new' parameter,
then remove the return value for cache_fresh_locked which is only used
to provide the value for 'new'.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/oom.h')
0 files changed, 0 insertions, 0 deletions