OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_32-21-g4be60fb

Gerrit Code Review
Thu, 24 Sep 2015 23:28:48 -0400

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 4be60fbc0ea3ef880340c4648475f8dcb8aa2614
Author: Jeffrey Altman <>
Date:   Thu May 14 18:29:45 2015 -0400

    Windows: cm_GetCell_Gen rework cell prefix matching
    The cm_GetCell_Gen() function permits cells to be searched for by
    prefix.  The idea is to permit "" to be abbreviated "cs"
    when at CMU.  There are two problems with the current behavior:
    1. the existing match rules will accept "cs.c" and "cs.cmu.ed" as
       valid prefix matches.  By not restricting the prefix matching
       to full components the Freelance symlink list can become
    2. the existing match rules will accept the first cell that
       matches even if there are more than one cells that would match.
       this can result in unpredictable behavior since the ordering
       of the cells is not guaranteed.
    Instead, fail requests for cell prefixes that are not full component
    matches or that would be ambiguous.
    Reviewed-by: Jeffrey Altman <>
    Tested-by: BuildBot <>
    (cherry picked from commit e314167f11f289248704426fe65fea13a734a937)
    Change-Id: I8de6f9972f15cf12ae13b157e26ee181eeec220b
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/WINNT/afsd/cm_cell.c |   81 ++++++++++++++++++++++++++++++---------------
 1 files changed, 54 insertions(+), 27 deletions(-)

OpenAFS Master Repository