diff options
| author | Pranith Kumar K <pkarampu@redhat.com> | 2015-07-28 18:38:56 +0530 |
|---|---|---|
| committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-07-30 00:29:50 -0700 |
| commit | 044a5623eb9af8e6f52ed2dd02f0f07d23479638 (patch) | |
| tree | 612df85f56352359795cf2b96aa4a6c911245fe2 /api/src/gfapi.map | |
| parent | fc62b329ad6dc5f2e986f5cd50225015c3af199e (diff) | |
features/shard: Fix block size get from xdata
Backport of: http://review.gluster.org/11778
Instead of using dict_get_ptr, dict_get_uint64 was used. If the first byte of
the value is '\0' then size is returned as 0 because strtoull is used in
data_to_uint64. This will make it seem like the file is not sharded at all.
Original author: Pranith Kumar K <pkarampu@redhat.com>
Change-Id: Id07a7d9523cb29d096b65dd68bbfcef395031aef
BUG: 1247833
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/11789
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'api/src/gfapi.map')
0 files changed, 0 insertions, 0 deletions
