diff options
author | JulesWang <w.jq0722@gmail.com> | 2013-03-18 10:06:06 +0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-03-18 11:34:24 -0700 |
commit | 1975c5416402f3a64d5359e50a2c48b44f100d16 (patch) | |
tree | 582ba87b765f755161cb4e86da644263a6998285 /xlators | |
parent | 1409ea2e80e8d15d3202bcf6e1b9c0e0d461697c (diff) |
dht: fix a typo
Change-Id: Id6f156957e58aad06bf2602f880c7e4102b80fd1
BUG: 764890
Signed-off-by: JulesWang <w.jq0722@gmail.com>
Reviewed-on: http://review.gluster.org/4679
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/dht-selfheal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index 7b75ab3888e..b8d873aac83 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -564,7 +564,7 @@ dht_selfheal_layout_maximize_overlap (call_frame_t *frame, loc_t *loc, if (!table) { return; } - memset(table,0,sizeof(overlap)*new->cnt*new->cnt); + memset(table,0,sizeof(overlap)*old->cnt*new->cnt); for (i = 0; i < new->cnt; ++i) { for (j = 0; j < old->cnt; ++j) { OV_ENTRY(i,j) = dht_overlap_calc(old,j,new,i); |