OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1881-gf199ac6
Gerrit Code Review
gerrit@openafs.org
Sat, 12 Nov 2011 06:56:35 -0800 (PST)
The following commit has been merged in the master branch:
commit f199ac666195771a02e3ebb040c6e5fe47c58c58
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].
Change-Id: Ib60126811f51943bfc81ab7c48d7f247f00f1cad
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>
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