OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-12-g6f439ff

Gerrit Code Review gerrit@openafs.org
Thu, 10 Dec 2009 11:50:12 -0800 (PST)


The following commit has been merged in the master branch:
commit 6f439ff7edc0e333d477bf7c65b291dae5d993c2
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Nov 6 14:03:52 2009 -0600

    Expand ProgramType enumeration
    
    The ProgramType values volumeUtility and salvager are overloaded. Expand
    the ProgramType enum to include more specific program types, and adjust
    conditionals to match.
    
    Also, instead of determining all behavior by checking programType, add
    some flags to be passed in to VInitVolumePackage to determine e.g.
    whether or not we can use the FSSYNC channel. This makes it easier to
    see the intent of some conditionals, and reduces the number of times a
    caller must lie about what program it is.
    
    Change-Id: Ic9852a35bb16a6b1f4b0aa9766de63178ecea56f
    Reviewed-on: http://gerrit.openafs.org/786
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/voldefs.h              |    4 -
 src/tsalvaged/salvsync-debug.c |    9 ++-
 src/viced/viced.c              |    8 ++-
 src/vol/fssync-debug.c         |    9 ++-
 src/vol/salvaged.c             |   13 ++--
 src/vol/salvager.c             |   15 ++++-
 src/vol/test/testpart.c        |    5 +-
 src/vol/vol-bless.c            |   13 ++++-
 src/vol/voldefs.h              |    4 -
 src/vol/volume.c               |  139 +++++++++++++++++++++++++++++-----------
 src/vol/volume.h               |   25 ++++++--
 src/vol/volume_inline.h        |   54 +++++++++++++++
 src/volser/vol-dump.c          |    4 +-
 src/volser/volmain.c           |    6 +-
 14 files changed, 240 insertions(+), 68 deletions(-)

-- 
OpenAFS Master Repository