OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-31-g5c0aebc

Gerrit Code Review gerrit@openafs.org
Wed, 25 Aug 2010 07:54:38 -0700 (PDT)


The following commit has been merged in the master branch:
commit 5c0aebc421ddbed099a6fe1015cdda603e20529d
Author: Matt Benjamin <matt@linuxbox.com>
Date:   Wed Aug 25 03:34:35 2010 -0400

    FBSD CM: don't call afs_close when recycling
    
    Don't call afs_close when handling VOP_CLOSE on a recycled
    vnode, since there was no matching open.  This corrects the
    opens count, which was seen to go have gone negative in the
    reclaim vop.  For clarity, assert if afs_vop_close is entered
    with a VI_DOOMED vnode and avc->opens != 0.
    
    Change-Id: I511a4f2a924c2f8e20f3ecdaa445fbe803289a47
    Change-Id: I1b2307fd3318fa54e8f7fb72a5d3f843e2a38404
    Reviewed-on: http://gerrit.openafs.org/2612
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/FBSD/osi_vcache.c      |   12 ++++++------
 src/afs/FBSD/osi_vm.c          |   13 ++++++++++---
 src/afs/FBSD/osi_vnodeops.c    |   28 ++++++++++++++++++++--------
 src/afs/VNOPS/afs_vnop_write.c |   16 ++++++++++++++++
 4 files changed, 52 insertions(+), 17 deletions(-)

-- 
OpenAFS Master Repository