OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_29-20-g9e93093

Gerrit Code Review gerrit@openafs.org
Thu, 17 Apr 2014 05:49:51 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit c06add7701d40d965a613586b10533e5289f7e6e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Tue Apr 15 12:19:21 2014 -0400

    Windows: Fix AFSSetBasicInfo attribute processing
    
    The prior behavior of AFSSetBasicInfo() was to let the caller
    set whatever it wanted as the new file attributes regardless of
    the attributes that are supported by AFS.  In doing so, reparse
    point and directory attributes could be cleared, and other values
    could be set even though they would be lost as soon as the
    DirectoryCB object was garbage collected.
    
    New behavior:
    
    1. return STATUS_INVALID_PARAMETER if reparse point attribute
       would be altered
    
    2. return STATUS_INVALID_PARAMETER if directory attribute would
       be altered.
    
    3. successfully modify readonly attribute
    
    4. ignore all other attribute values
    
    Reviewed-on: http://gerrit.openafs.org/11073
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 70299e6c3def0b84520232c02b9071c9cbf8a851)
    
    Change-Id: Icfc1cc60984c099d712875dafecf8e0065c56644
    Reviewed-on: http://gerrit.openafs.org/11081
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp     |  102 +++++++++++++++++++----
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    3 +-
 2 files changed, 87 insertions(+), 18 deletions(-)

-- 
OpenAFS Master Repository