summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpc_pipe.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-02-03 07:31:31 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-03-14 23:03:54 +0100
commit3af4974eb2c7867d6e160977195dfde586d0e564 (patch)
treeec9f0bcadbeab55ccc3a0bf8cf512ebf80c72e9a /net/sunrpc/rpc_pipe.c
parentMerge commit 'v2.6.34-rc1' into for-2.6.35-incoming (diff)
downloadlinux-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