OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-218-ga951c45

Gerrit Code Review gerrit@openafs.org
Fri, 16 Dec 2011 03:04:17 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit a951c459f7f5a3838be2d07ea08999f0e555f6c5
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Aug 24 12:30:00 2011 -0500

    ihandle: Actually assert active fdPs are not AVAIL
    
    FdHandle_t's that are on the linked list for an associated IHandle_t
    should not be in the state FD_HANDLE_AVAIL. For the non-PIO case, we
    assert that this is the case in ih_open (since we assert that if the
    FdHandle_t is not in INUSE state, then it must be in OPEN state).
    However, for the PIO case, we were just skipping over any FdHandle_t's
    that were in the AVAIL state. These should never exist while on that
    linked list, so assert for the PIO case, as well.
    
    In the absence of bugs, there is no functional change here, but it
    perhaps makes the ih_open loop easier to understand.
    
    Reviewed-on: http://gerrit.openafs.org/5307
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 6d79cfb36165c33dd1fd9c4d7ca8436d9a78f7ff)
    
    Change-Id: If9e74f6120b007368128aead8787d715a1b1f093
    Reviewed-on: http://gerrit.openafs.org/6306
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/vol/ihandle.c |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

-- 
OpenAFS Master Repository