OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-98-g3f33bec

Gerrit Code Review gerrit@openafs.org
Wed, 16 Mar 2011 07:32:32 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 3f33bec726ee227cc28dbf62a2f5ca5f7a9fbb0e
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Apr 29 16:00:26 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.
    
    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>
    (cherry picked from commit b89a9e4fa001b453a3ef5f041ac7978ba696b8e3)
    
    Change-Id: Idf4cbddaedb1c85c295e312bfd08136c3e67f804
    Reviewed-on: http://gerrit.openafs.org/2161
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-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/VNOPS/afs_vnop_write.c  |    2 +-
 src/afs/afs.h                   |    2 +-
 src/afs/afs_callback.c          |    4 ++--
 src/afs/afs_daemons.c           |    2 +-
 src/afs/afs_osi.h               |   10 +++-------
 src/afs/afs_pioctl.c            |    2 +-
 src/afs/afs_vcache.c            |    2 +-
 11 files changed, 14 insertions(+), 18 deletions(-)

-- 
OpenAFS Master Repository