summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-10-16 15:44:02 +0530
committerNiels de Vos <ndevos@redhat.com>2014-10-18 01:40:11 -0700
commit30fab9575521fecc6498b67e5ec60b5150338aea (patch)
treea6d1645f791a31418bf7a4f678ef91621c9b91f3 /xlators/cluster
parent673b1deced72f9325caf0b5d6fb160ad17ec4b35 (diff)
cluster/afr: Fix sizeof typo
Change-Id: Ib82a1c4967f0880c91c114e4baae08bdbe77bb60 BUG: 1153626 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/8935 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index 5e52588a1f3..39b8bf5b51e 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -2569,7 +2569,7 @@ afr_lookup_cont_init (afr_local_t *local, unsigned int child_count)
GF_ASSERT (local);
local->cont.lookup.xattrs = GF_CALLOC (child_count,
- sizeof (*local->cont.lookup.xattr),
+ sizeof (*local->cont.lookup.xattrs),
gf_afr_mt_dict_t);
if (NULL == local->cont.lookup.xattrs)
goto out;