OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-42-gb3dd6cc

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 15:46:34 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit e6ae122e76ef14e2ce5c51194224cd0c112babe8
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: I30447aa426c041f9261fdfa37505d71fd604426c
    Reviewed-on: http://gerrit.openafs.org/5526
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry-picked from d54a9994d362ce3f287fe786839ec72f6d94806c)
    Reviewed-on: http://gerrit.openafs.org/5871
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 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