OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1967-g5731687
Gerrit Code Review
gerrit@openafs.org
Sun, 4 Dec 2011 08:13:51 -0800 (PST)
The following commit has been merged in the master branch:
commit 57316878e03691f7e320013b21f0c7640877e11e
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.
Change-Id: Ie3e9df8b9d2a79476f1707bd65e588f43271c636
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>
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