OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-341-gb6367aa
Gerrit Code Review
gerrit@openafs.org
Fri, 29 Oct 2010 12:04:21 -0700 (PDT)
The following commit has been merged in the master branch:
commit b6367aa84b9d1c7529b6f3a12bbfeacc91384ffb
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.
Change-Id: Ia88eb21046fe844a6adb830734dcae2f76ef2dc5
Reviewed-on: http://gerrit.openafs.org/3195
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository