summaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorNeilBrown2010-08-12 08:55:22 +0200
committerJ. Bruce Fields2010-09-08 01:21:19 +0200
commit17cebf658e088935d4bdebfc7ad9800e9fc4a0b2 (patch)
tree7bc6c1d8de35bce17da188cba13688671d517907 /fs/afs
parentnfsd: remove duplicate NFS4_STATEID_SIZE declaration (diff)
downloadkernel-qcow2-linux-17cebf658e088935d4bdebfc7ad9800e9fc4a0b2.tar.gz
kernel-qcow2-linux-17cebf658e088935d4bdebfc7ad9800e9fc4a0b2.tar.xz
kernel-qcow2-linux-17cebf658e088935d4bdebfc7ad9800e9fc4a0b2.zip
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 <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions