OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2411-gfd161ec
Gerrit Code Review
gerrit@openafs.org
Mon, 16 Apr 2012 18:37:22 -0700 (PDT)
The following commit has been merged in the master branch:
commit 8e1490f5799f0a307760047a133aade806b32afc
Author: Peter Scott <pscott@kerneldrivers.com>
Date: Mon Apr 16 12:25:01 2012 -0400
Windows: AFSProcessOverwriteSupersede CcSetFileSizes
Instead of calling CcPurgeCacheSection() in AFSProcessOverwriteSupersede()
as part of the file length truncation to zero, call CcSetFileSizes().
Wait to call CcSetFileSizes() until after the Fcb->Resource has been
dropped but while the Fcb->Header.PagingIoResource is still held.
Make sure that file sizes are restored in the Fcb->Header if the
afsd_service rejects the file update.
Change-Id: I7574e80781ac1dbbe69814c69644bb3825de9b6a
Reviewed-on: http://gerrit.openafs.org/7220
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp | 81 +++++++++++++++++------------
1 files changed, 48 insertions(+), 33 deletions(-)
--
OpenAFS Master Repository