]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: use seconds since boot in expiry cache
authorNeilBrown <neilb@suse.de>
Thu, 12 Aug 2010 06:55:22 +0000 (16:55 +1000)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 7 Sep 2010 23:21:20 +0000 (19:21 -0400)
commite7a3b74882633a3ea1f56572de8c4a7be52f5873
treecc2016f256da966974b4ed7a24ff9378a77facb2
parent9438d8707fb03310da3727c8820b3e2768207f37
sunrpc: use seconds since boot in expiry cache

This protects us from confusion when the wallclock time changes.

We convert to and from wallclock when  setting or reading expiry
times.

Also use seconds since boot for last_clost time.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/dns_resolve.c
fs/nfsd/nfs4idmap.c
include/linux/sunrpc/cache.h
net/sunrpc/cache.c