OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-820-g974e953

Gerrit Code Review gerrit@openafs.org
Fri, 4 Mar 2011 07:38:21 -0800 (PST)


The following commit has been merged in the master branch:
commit 974e95302a312c03cd735c0fdaa67fb02d254e26
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Feb 25 16:58:30 2011 -0600

    vol: Check for blank vnode in VAllocVnode_r
    
    When we alloc a vnode in VAllocVnode_r, we look up that vnode in the
    vnode cache, to see if a vnode struct already exists for it. If it
    doesn't, we check the vnode index to ensure that the vnode actually is
    not in use (among other things). However, we do not perform the same
    check for a vnode already in the cache. Add this check, to make sure
    that we don't allocate an already-used vnode number, even if the
    bitmap is screwed up.
    
    Change-Id: I63b3aa752d359a2ff8282b193e658d74d6b9719c
    Reviewed-on: http://gerrit.openafs.org/4060
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vnode.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository