OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4218-g70299e6

Gerrit Code Review gerrit@openafs.org
Wed, 16 Apr 2014 06:06:23 -0700 (PDT)


The following commit has been merged in the master branch:
commit 70299e6c3def0b84520232c02b9071c9cbf8a851
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
    
    Change-Id: Ic678960101ef99cdad0c0e84b21c9d65c6831ca8
    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>

 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