diff options
author | NeilBrown <neilb@suse.de> | 2010-02-03 07:31:31 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-14 23:03:54 +0100 |
commit | 3af4974eb2c7867d6e160977195dfde586d0e564 (patch) | |
tree | ec9f0bcadbeab55ccc3a0bf8cf512ebf80c72e9a /net/sunrpc/rpc_pipe.c | |
parent | Merge commit 'v2.6.34-rc1' into for-2.6.35-incoming (diff) | |
download | linux-3af4974eb2c7867d6e160977195dfde586d0e564.tar.xz linux-3af4974eb2c7867d6e160977195dfde586d0e564.zip |
sunrpc: don't keep expired entries in the auth caches.
currently expired entries remain in the auth caches as long
as there is a reference.
This was needed long ago when the auth_domain cache used the same
cache infrastructure. But since that (being a very different sort
of cache) was separated, this test is no longer needed.
So remove the test on refcnt and tidy up the surrounding code.
This allows the cache_dequeue call (which needed to be there to
drop a potentially awkward reference) can be moved outside of the
spinlock which is a better place for it.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
0 files changed, 0 insertions, 0 deletions