diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2014-09-29 11:31:24 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-10-20 03:41:42 -0700 |
commit | 40a378460e51c0af9bedf33c6c767c4e757259e6 (patch) | |
tree | 1de916b8894a501b6814054a3eb10d6ddd79a1ff /xlators/cluster/ec/src/ec-data.h | |
parent | b2a1be0f7bf5e19b266ee57c3287ee9f9170e2f7 (diff) |
ec: Fix 32 bits issues on file size calculation
Some additional 32 bits issues have been added by a recent patch.
This patch solves it.
This is a backport of http://review.gluster.org/8882/
Change-Id: Ice81032fbe8e36e5ccad19a781b7876891993906
BUG: 1146904
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/8883
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-data.h')
-rw-r--r-- | xlators/cluster/ec/src/ec-data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-data.h b/xlators/cluster/ec/src/ec-data.h index d87cb26b52d..532ca95444a 100644 --- a/xlators/cluster/ec/src/ec-data.h +++ b/xlators/cluster/ec/src/ec-data.h @@ -149,8 +149,8 @@ struct _ec_lock int32_t refs; int32_t acquired; int32_t have_size; - size_t size; - size_t size_delta; + uint64_t size; + uint64_t size_delta; uint64_t version; uint64_t version_delta; ec_fop_data_t * owner; |