OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2290-gc19d1b8

Gerrit Code Review gerrit@openafs.org
Thu, 5 Apr 2012 16:43:59 -0700 (PDT)


The following commit has been merged in the master branch:
commit c19d1b875fab472dc7474c70529ab7fc2f7bf106
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Apr 5 14:40:18 2012 -0400

    Windows: Redirector must query volume size when asked
    
    The volume size and free space cannot be obtained at volume
    initialization and then re-used for all FileFsSizeInformation
    and FileFsFullSizeInformation queries.  Doing so prevents Windows
    from being able to see changes in the available free space.
    
    The maximum size of the volume is not the size of the partition
    and the available space on the partition unless there is no quota
    applied to the volume.  If there is a quota, then the free space
    is the smaller of the available quota and the available partition
    space.
    
    Add a new ioctl request to permit the redirector to query the
    current Volume Size Information details.
    
    Change-Id: I3414f314d7780fd12489e0d278b71bcadc1a72e6
    Reviewed-on: http://gerrit.openafs.org/7052
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/common/AFSUserDefines.h        |    1 +
 src/WINNT/afsrdr/common/AFSUserStructs.h        |   25 +++-
 src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp  |   38 +++++
 src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp   |   56 +++++--
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    5 +
 src/WINNT/afsrdr/user/RDRFunction.c             |  199 +++++++++++++++++++++--
 src/WINNT/afsrdr/user/RDRInit.cpp               |   19 +++
 src/WINNT/afsrdr/user/RDRPrototypes.h           |    7 +
 8 files changed, 322 insertions(+), 28 deletions(-)

-- 
OpenAFS Master Repository