OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1721-gd54a999
Gerrit Code Review
gerrit@openafs.org
Fri, 30 Sep 2011 16:52:26 -0700 (PDT)
The following commit has been merged in the master branch:
commit d54a9994d362ce3f287fe786839ec72f6d94806c
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Sep 29 15:22:35 2011 -0500
DAFS: Add explicit 'valid' field for index maps
The CB, FE, and host serialization structures were just using the
relevant indices to determine whether or not an entry mapping and old
index to a new index was populated with actual data. For host
structures, this really isn't sufficient, since our index can be 0,
and the structure is calloc'd, so the index in the structure could
also be 0.
Add a flag explicitly stating whether or not the structure has been
filled in, to make this unambiguous.
Change-Id: Ia69e25fa73e10dc10cf3ddf08bb4feb2c9958674
Reviewed-on: http://gerrit.openafs.org/5526
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/tviced/serialize_state.h | 4 ++++
src/viced/callback.c | 8 ++++++--
src/viced/host.c | 4 +++-
3 files changed, 13 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository