OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_9-40-gb49885e
Gerrit Code Review
gerrit@openafs.org
Mon, 16 Apr 2012 20:41:20 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit d88b42e0b40dac2b185203281251c7ff8a6479c0
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.
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>
(cherry picked from commit 8e1490f5799f0a307760047a133aade806b32afc)
Change-Id: I259c6b1f27fbadb8cbbf8702fa9db75fa8b14bb3
Reviewed-on: http://gerrit.openafs.org/7226
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-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