OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-243-g9e6e784

Gerrit Code Review gerrit@openafs.org
Sun, 4 Dec 2011 08:44:05 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 9e6e784634216ab62a962506b8dda00f38d7d96c
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sun Nov 20 18:11:53 2011 -0500

    rx: Make CALL_RELE and CALL_HOLD lock refcnt mutex
    
    The reference count mutex must always be held when calling CALL_RELE
    or CALL_HOLD. Instead of requiring that the caller obtain, and release
    the mutex, do so within the HOLD and RELE macros, greatly simplifying
    calling code. Provide CALL_RELE_R and CALL_HOLD_R as versions of these
    macros which can be used by callers who already hold the reference
    count mutex for other purposes.
    
    Reviewed-on: http://gerrit.openafs.org/6219
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit 57316878e03691f7e320013b21f0c7640877e11e)
    
    Change-Id: Ifa63adc280b4499ba1f541fe242612bc33f8e603
    Reviewed-on: http://gerrit.openafs.org/6221
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/rx/rx.c        |   42 ------------------------------------------
 src/rx/rx_call.h   |   21 +++++++++++++++++----
 src/rx/rx_event.c  |    1 +
 src/rx/rx_packet.c |    4 ----
 4 files changed, 18 insertions(+), 50 deletions(-)

-- 
OpenAFS Master Repository