OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-148-gab4e008
Gerrit Code Review
gerrit@openafs.org
Wed, 3 Nov 2010 03:58:50 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit ab4e008a3b357644c1f16ebc63ea2fae5270243c
Author: Ben Kaduk <kaduk@mit.edu>
Date: Fri Oct 29 12:01:04 2010 -0400
FBSD: lock interlock around v_usecount accesses
The FreeBSD vnode locking strategy requires that the vnode
interlock be held for all accesses to v_usecount, such as those
used by our VREFCOUNT and VREFCOUNT_GT macros. Conveniently,
a wrapper function is provided that takes the lock around its
access of the element, vrefcnt(). Use it for our macros.
Reviewed-on: http://gerrit.openafs.org/3195
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit b6367aa84b9d1c7529b6f3a12bbfeacc91384ffb)
Change-Id: I41ccb2b84347c4182d5b782faee176c9800d640a
Reviewed-on: http://gerrit.openafs.org/3234
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository