OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2061-g52c3bac
Gerrit Code Review
gerrit@openafs.org
Sat, 31 Dec 2011 13:45:21 -0800 (PST)
The following commit has been merged in the master branch:
commit 85f4971f850c0110915ba862922c1536ebe506c2
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Dec 30 20:09:06 2011 -0500
Windows: renames that overwrite existing target
The Windows client up to this point has never correctly implemented
directory renames. For the longest time it assumed that the file
server would not replace a pre-existing target. As a result, when
the target name was already in use the contents of the directory
would end up with the target name existing but its previous file id
associated with it.
A second problem was that lookups for the source and target names
were not performed while the directory (or directories) were exclusively
held to ensure that competing changes could not occur.
This patchset corrects both issues in cm_Rename() and adjusts the
redirector interface to match the new behavior.
Change-Id: I4f5cff7debcf9925947ac3fc6931565acb57ebd9
Reviewed-on: http://gerrit.openafs.org/6457
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_vnodeops.c | 192 ++++++++++++++++++++---------------
src/WINNT/afsrdr/user/RDRFunction.c | 22 +++-
2 files changed, 126 insertions(+), 88 deletions(-)
--
OpenAFS Master Repository