OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre4-8-g3cbd777

Gerrit Code Review
Fri, 22 Apr 2011 15:35:13 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 314bc2e0082edea04ffb6908e2479be904b21b8e
Author: Jeffrey Altman <>
Date:   Tue Apr 19 00:12:49 2011 -0400

    Windows: avoid race when writing mountPointString
    cm_GetData() drops the cm_scache_t rw lock which permits other
    threads to access the data while it is in an inconsistent state.
    Avoid the race by using a stack allocated temporary buffer to
    receive the data from cm_GetData().  Only copy the data into
    the mountPointStringp buffer under the rwlock.
    Change-Id: Id5ab3c5ed7c76551d53fedea96eeded59c2c699d
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>
    Tested-by: BuildBot <>

 src/WINNT/afsd/cm_vnodeops.c |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

OpenAFS Master Repository