auth: avoid excessive stat of cellservdb
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 27 Oct 2011 21:53:47 +0000 (17:53 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 18 Nov 2011 16:35:14 +0000 (08:35 -0800)
commit0e3bfa033ed230fcb46ad8e3c26c8b7aae6e00af
treeaca0364c26a65dd39862bdf8800528ffc82a95f6
parent639ca379e47fbe550d090fff9e635ad24e8e34f0
auth: avoid excessive stat of cellservdb

The modified time resolution is one second, so only
stat the cellservdb file at most only once per second.

Change-Id: I7d9a58f9af72b8c36b50374e49c07b4db85285e0
Reviewed-on: http://gerrit.openafs.org/5743
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/auth/cellconfig.c
src/auth/cellconfig.p.h