OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2451-gd10f71d

Gerrit Code Review gerrit@openafs.org
Fri, 27 Apr 2012 21:47:17 -0700 (PDT)


The following commit has been merged in the master branch:
commit d10f71d44fddd7ea6e37481cffd7ee1be2a93217
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Apr 27 12:59:25 2012 -0500

    vol: A GOING_OFFLINE volume should yield VOFFLINE
    
    Currently, GetVolume treats a volume in the VOL_STATE_GOING_OFFLINE
    state the same as VOL_STATE_SHUTTING_DOWN, and so returns VNOVOL for a
    GOING_OFFLINE volume, but these states are very different.
    
    GOING_OFFLINE indicates that a volume should soon be in the UNATTACHED
    state, so we should treat GOING_OFFLINE the same as UNATTACHED for
    returning errors to the user. For UNATTACHED, we return specialStatus
    if it's set, or VOFFLINE otherwise; so, just do the same for
    GOING_OFFLINE.
    
    Change-Id: Ia9500d2cfd90b8c15782a06025f39298810d0a99
    Reviewed-on: http://gerrit.openafs.org/7290
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/vol/volume.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository