OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2466-g50752e2

Gerrit Code Review
Fri, 4 May 2012 10:23:49 -0700 (PDT)

The following commit has been merged in the master branch:
commit 50752e2f60d613fda1e70b798a72679bea5d65f8
Author: Jeffrey Altman <>
Date:   Sun Apr 29 10:31:07 2012 -0400

    Windows: reorg RDR_CleanupFile to prevent lock leak
    RDR_CleanupFile could fail to drop a file lock if the user does
    not have write permission on last handle close even if the file
    is readonly or there were no dirty extents to be stored.  The
    error handling would return the error immediately and skip the
    file lock release.   This patchset changes the logic so that the
    user permissions are not tested if the file is located on a readonly
    volume or if there are no dirty extents or metadata changes to store.
    In addition, if there is an error, skip to unlock processing and
    not to function exit processing.
    Change-Id: I03f8cbbae5ead2a66ce261631e7e34dd533de930
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsrdr/user/RDRFunction.c |  173 ++++++++++++++++++-----------------
 1 files changed, 89 insertions(+), 84 deletions(-)

OpenAFS Master Repository