OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-108-gb03c426
Gerrit Code Review
gerrit@openafs.org
Sat, 12 Nov 2011 16:00:30 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit b03c426b363b3cf1200b1819dc000a8322b69c3c
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date: Sat Oct 22 16:46:26 2011 +0100
Windows: Look for 8.3 name when doing a rename
If we are doing a destructive rename we need to find whether the
target file exists. This is done in the usual way (case sensitive
case insensitive), but the short name is not looked for.
This means that the rename of a file to a short name will not
supersede correctly; rather the service refuses the rename since
the target existed already.
This patch looks the target name up in the shortname tree if the
target name is short and all else has failed.
Change-Id: Ib03a87e58a9f015000fc2bf3a4067b8683032a49
Reviewed-on: http://gerrit.openafs.org/5652
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry-picked from 241d3d54cebfc661cfaec6d21de091d906df3d08)
Reviewed-on: http://gerrit.openafs.org/5938
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository