OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-343-g4672748
Gerrit Code Review
gerrit@openafs.org
Wed, 30 Jun 2010 05:14:43 -0700 (PDT)
The following commit has been merged in the master branch:
commit 46727481ec5c47c2d3402acb572bf0d6167690ec
Author: Ben Kaduk <kaduk@mit.edu>
Date: Wed Jun 30 00:21:10 2010 -0400
FBSD TryToSmush locking fixup
We need to hold the interlock when we check v_flags, so do so.
TryToSmush is sometimes called with the vnode already locked,
as the current code appears to hold the vnode lock for the
current working directory (which is probably a bug). Check if
the lock is already held (panic if someone else has it!), and
unlock as appropriate when we're done.
Change-Id: Id09ef1e10632c7f63b590271a6339a069176deac
Reviewed-on: http://gerrit.openafs.org/2294
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/FBSD/osi_vm.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository