OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1530-g8f446c7

Gerrit Code Review gerrit@openafs.org
Sat, 13 Aug 2011 06:10:11 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8f446c7463c9183d59a30343682e31ad9f85b307
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.
    
    Change-Id: Ie65cdca4461e84c675e8a29e22cef3e15679fda7
    Reviewed-on: http://gerrit.openafs.org/5248
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-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