summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-02-03 17:31:31 +1100
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-03-14 18:03:54 -0400
commit3af4974eb2c7867d6e160977195dfde586d0e564 (patch)
treeec9f0bcadbeab55ccc3a0bf8cf512ebf80c72e9a /include
parente739cf1da48e841bc5d744a99764c1a668b4bdd2 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions