From: NeilBrown Date: Thu, 12 Aug 2010 06:55:22 +0000 (+1000) Subject: sunrpc: extract some common sunrpc_cache code from nfsd X-Git-Tag: v2.6.37-rc1~113^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17cebf658e088935d4bdebfc7ad9800e9fc4a0b2;p=pandora-kernel.git sunrpc: extract some common sunrpc_cache code from nfsd Rather can duplicating this idiom twice, put it in an inline function. This reduces the usage of 'expiry_time' out side the sunrpc/cache.c code and thus the impact of a change that is about to be made to that field. Signed-off-by: NeilBrown Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed