OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-13-gb0679bb

Gerrit Code Review
Sun, 25 Dec 2011 06:53:08 -0800 (PST)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 7c42f353615de2230250a4f7a4d5f78802f86700
Author: Jeffrey Altman <>
Date:   Sat Dec 24 03:15:53 2011 -0500

    Windows: avoid race in cm_GetNewSCache
    The cm_scacheLock is dropped while walking the scache LRU queue.
    As a result it is possible for the cm_scache_t that is being
    considered for recycling to be accessed and moved to the head
    of the queue.
    Track the prev and next pointers so it is possible to detect if
    the cm_scache_t that is about to be recycled has been moved.  If
    so, restart the search from the tail.
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>
    (cherry picked from commit ff368a7ec70fca0673a21f6b283db13cabcc2286)
    Change-Id: Ib13ee103cf06b211ca1307e530db379825a9ad62
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/WINNT/afsd/cm_scache.c |   55 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 47 insertions(+), 8 deletions(-)

OpenAFS Master Repository