OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-175-ge2ca587

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 16:41:26 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit e2ca5877bc6566110e40ef20b40d61e24040e6ad
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Nov 2 16:55:49 2011 -0500

    afs: Do not use separate array for srvAddrs
    
    The array of srvAddr structs we use in afs_LoopServers have indices
    unrelated to the indices of conns, rxconns, etc. Several places were
    assuming that addr[i] corresponded to conn[i], which is not
    necessarily true. So instead, do not use the separate addr array
    (except when populating the conn and rxconn arrays), and just get the
    srvAddr structure by going through the relevant conn[i].
    
    Reviewed-on: http://gerrit.openafs.org/5790
    Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry picked from commit f199ac666195771a02e3ebb040c6e5fe47c58c58)
    
    Change-Id: Ib6605ee02964fc8215774d9b45846ac4c07fa636
    Reviewed-on: http://gerrit.openafs.org/6010
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/afs/afs_prototypes.h |   12 ++++--------
 src/afs/afs_server.c     |   39 ++++++++++++++++++---------------------
 src/afs/afs_vcache.c     |   12 ++++++------
 3 files changed, 28 insertions(+), 35 deletions(-)

-- 
OpenAFS Master Repository