OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre2-72-g3260065

Gerrit Code Review gerrit@openafs.org
Tue, 8 Mar 2011 04:17:25 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 3260065941c65434c9124fb51559b0519e77fa9b
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.
    
    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>
    (cherry picked from commit 974e95302a312c03cd735c0fdaa67fb02d254e26)
    
    Change-Id: Ie75dc32c2a2c1ff05a96a1a14650e41ada07609d
    Reviewed-on: http://gerrit.openafs.org/4170
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository