OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12pre2-17-gc796e7c
Gerrit Code Review
gerrit@openafs.org
Tue, 9 Feb 2010 11:34:32 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit c796e7c28798ac499bd17998b88d84f0e9831ea8
Author: Rainer Toebbicke <rtb@pclella.cern.ch>
Date: Mon Feb 8 15:18:04 2010 +0100
afs_TruncateAllSegments() make sure correct afs_size_t comparison is
used when selecting dcache entries for truncation
Insure that afs_TruncateAllSegments() uses the correct [64-bit]
comparison when deciding whether to truncate chunks:
alen - AFS_CHUNKTOBASE(tdc->f.chunk) for a file > 2GB would fail
to be recognised negative with an "afs_int32 newSize", even with
alen = 0 and big tdc->f.chunk.
Change-Id: Id77109fb8238234dae725bd876f70ea0fbd403fc
Change-Id: If0120e21a52316e536d03241c83e8f0d36614c13
Reviewed-on: http://gerrit.openafs.org/1252
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 3913aa55eed10f9d6316910ef950f5c3242e20d7)
Reviewed-on: http://gerrit.openafs.org/1282
src/afs/afs_segments.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository