OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_62-29-g5aced2e

Gerrit Code Review gerrit@openafs.org
Mon, 7 Sep 2009 19:35:18 -0700 (PDT)


The following commit has been merged in the master branch:
commit 5aced2e8d68e109145893a508ff61437d31a6de9
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date:   Sat Aug 29 14:16:45 2009 -0400

    Correct nvldbentry and vldbentry misuse in uss/uss_vol.c
    
    The uss module relies on MapNetworkToHost / MapHostToNetwork from
    src/volser.  These functions convert a struct nvldbentry and not
    a struct vldbentry.  When src/volser was converted to struct nvldbentry
    src/uss must have been forgotten.
    
    In uss_vol.c convert GetServerAndPart() to accept a nvldbentry
    instead of a vldbentry.
    
    Add two static functions:
    
     * ovlentry_to_nvlentry() to convert from vldbentry to nvldbentry
       if required
    
     * uss_vol_GetEntryByID() which first attempts to use
       ubik_VL_GetEntryByIDN() and if that is not supported falls
       back to ubik_VL_GetEntryByID() and ovlentry_to_nvlentry().
    
    LICENSE MIT
    
    FIXES 125101
    
    Reviewed-on: http://gerrit.openafs.org/377
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/uss/uss_vol.c |   97 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 90 insertions(+), 7 deletions(-)

-- 
OpenAFS Master Repository