OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-45-g2d1249f
Gerrit Code Review
gerrit@openafs.org
Fri, 7 Oct 2011 10:33:53 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 2d1249ff41af03acc58d12709d6910313979cd43
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.
Reviewed-on: http://gerrit.openafs.org/5526
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit d54a9994d362ce3f287fe786839ec72f6d94806c)
Change-Id: I0bd3e50dec4e686acc3e9cda3eef7b7909266f27
Reviewed-on: http://gerrit.openafs.org/5544
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