OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-68-g79d829c

Gerrit Code Review gerrit@openafs.org
Sat, 2 Feb 2013 21:39:44 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 79d829c2fa4c6b7ea5d0bc84b661c5c9ed8565cb
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Jan 25 00:11:41 2013 -0500

    Windows: FILE_FS_DEVICE_INFORMATION Device Type
    
    Consistently report our device type as FILE_DEVICE_NETWORK_FILE_SYSTEM
    instead of FILE_DEVICE_DISK or FILE_DEVICE_DISK_FILE_SYSTEM except
    when returning FILE_FS_DEVICE_INFORMATION where we must lie and state
    that the device type is FILE_DEVICE_DISK.  Otherwise, the Win32 API
    GetFileType() returns FILE_TYPE_UNKNOWN instead of FILE_TYPE_DISK.
    
    Applications built from msys (but not current cygwin) treat files
    of type FILE_TYPE_UNKNOWN as special character devices instead of
    files.  This breaks msysGit.
    
    Reviewed-on: http://gerrit.openafs.org/8973
    Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit e41d08c9a15a722d0974b763e41d84788f742b6a)
    
    Change-Id: Ice3cac94603c9a45b2caa5685cf176b2161bdc3d
    Reviewed-on: http://gerrit.openafs.org/9048
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSInit.cpp       |    4 ++--
 src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp |    8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository