OpenAFS Master Repository branch, master, updated. 868ddef206e7c764427cf4abb91e1e69326a2198

Gerrit Code Review gerrit@openafs.org
Thu, 16 Jul 2009 10:05:34 -0700 (PDT)


The following commit has been merged in the master branch:
commit 868ddef206e7c764427cf4abb91e1e69326a2198
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date:   Thu Jul 16 11:53:52 2009 -0400

    Do not print volume name in DisplayFormat2 if status is not VOK
    
    DisplayFormat2 is used to generate volume output for ListVolumes
    and ExamineVolume.  If the volume status is not VOK, the name field
    will not have been populated with valid data.  Do not print it.
    
    This commit also removes an extraneous switch block from
    XDisplayFormat2.  The switch variable is already known to
    have the value VOK due to an enclosing conditional.
    
    FIXES 125111
    
    LICENSE MIT
    
    Reviewed-on: http://gerrit.openafs.org/140
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Verified-by: Derrick Brashear <shadow@dementia.org>

 src/volser/vos.c |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository