OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre7-73-gc31e026

Gerrit Code Review gerrit@openafs.org
Sat, 13 Aug 2011 20:33:27 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 9a9bc597c0994063dd2cf75ea653c41bee7290ff
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Aug 12 19:02:48 2011 -0400

    Windows: Fix cm_serverRef ref counts
    
    Use Interlocked operations consistently
    
    Simplify cm_ServerInsertList().  It no longer increments the
    refCount on the serverRef object.  Instead it leaves the refCount
    as is.  Its the caller's responsibility to add a reference if
    required.
    
    Add reference counts and hold locks in places where the
    volume server list was used unprotected.
    
    Reviewed-on: http://gerrit.openafs.org/5248
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry picked from commit 8f446c7463c9183d59a30343682e31ad9f85b307)
    
    Change-Id: I0ed8ea1551527e0d62e57967da6816415a3b36b5
    Reviewed-on: http://gerrit.openafs.org/5254
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>

 src/WINNT/afsd/cm_cell.c   |    4 ---
 src/WINNT/afsd/cm_server.c |   47 +++++++++++++++++++++++++++++++++++--------
 src/WINNT/afsd/cm_server.h |    4 +++
 src/WINNT/afsd/cm_volume.c |   18 +++++-----------
 4 files changed, 48 insertions(+), 25 deletions(-)

-- 
OpenAFS Master Repository