OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-209-gb89a9e4

Gerrit Code Review gerrit@openafs.org
Mon, 7 Jun 2010 11:56:39 -0700 (PDT)


The following commit has been merged in the master branch:
commit b89a9e4fa001b453a3ef5f041ac7978ba696b8e3
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue May 18 11:39:21 2010 -0500

    libafs: consistently hold vnode refs
    
    Make all common libafs code call AFS_FAST_HOLD to hold an afs vnode
    reference, instead of sometimes calling VN_HOLD(AFSTOV(tvc)) directly.
    Make AFS_FAST_HOLD always call osi_vnhold, and have each platform
    define osi_vnhold for their platform-specific quirks (as it was doing
    before).
    
    This way, if a platform has an osi_vnhold that is special somehow (on
    solaris, we bump a VFS refcount if the vnode refcount goes from 0->1),
    it will always be called on vnode references.
    
    Change-Id: I7bb2b5ac116c8e86f6c6c0d40f414523870275a3
    Reviewed-on: http://gerrit.openafs.org/1987
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/AIX/osi_machdep.h       |    2 +-
 src/afs/SOLARIS/osi_vfsops.c    |    2 +-
 src/afs/VNOPS/afs_vnop_fid.c    |    2 +-
 src/afs/VNOPS/afs_vnop_remove.c |    2 +-
 src/afs/afs.h                   |    2 +-
 src/afs/afs_callback.c          |    4 ++--
 src/afs/afs_daemons.c           |    2 +-
 src/afs/afs_osi.h               |   12 +++---------
 src/afs/afs_pioctl.c            |    2 +-
 src/afs/afs_vcache.c            |    2 +-
 10 files changed, 13 insertions(+), 19 deletions(-)

-- 
OpenAFS Master Repository