From: NeilBrown Date: Wed, 3 Feb 2010 06:31:31 +0000 (+1100) Subject: sunrpc: don't keep expired entries in the auth caches. X-Git-Tag: v2.6.35-rc1~489^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af4974eb2c7867d6e160977195dfde586d0e564;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed