OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-86-gdce56fb

Gerrit Code Review gerrit@openafs.org
Fri, 20 Nov 2009 04:39:47 -0800 (PST)


The following commit has been merged in the master branch:
commit 4f91de7cf429db63bcf67466cf3fb36feb990643
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sat Oct 24 15:08:52 2009 +0100

    Linux: Use atomics for credential reference counts
    
    The reference count maintained as part of the afs_cred structure
    wasn't being maintained atomically, requiring that crfree and
    crhold always be called with the GLOCK held.
    
    This patch just switches to using Linux's inbuilt atomic types to
    maintain the reference count.
    
    Change-Id: I1787061afbb48e234b4839b38b8801168ea2f25f
    Reviewed-on: http://gerrit.openafs.org/726
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/LINUX/osi_cred.c    |   10 ++++------
 src/afs/LINUX/osi_machdep.h |    4 ++--
 src/afs/afs_osi_gcpags.c    |    5 ++++-
 3 files changed, 10 insertions(+), 9 deletions(-)

-- 
OpenAFS Master Repository