summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnush Shetty <anush@gluster.com>2010-09-18 06:21:33 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-18 05:19:25 -0700
commit2bd9adb71d9b64799fef7978ff1da97fadab3056 (patch)
tree2604b8188da02645161545bd98eae8c36a83fdd0
parent994d6de08c208509f69b2a0df16f6398dde49215 (diff)
change stat structure to iatt
Signed-off-by: Anush Shetty <anush@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1642 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1642
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-metadata.c b/xlators/cluster/afr/src/afr-self-heal-metadata.c
index 7087c57eb6c..bd70608a298 100644
--- a/xlators/cluster/afr/src/afr-self-heal-metadata.c
+++ b/xlators/cluster/afr/src/afr-self-heal-metadata.c
@@ -62,7 +62,7 @@ afr_sh_metadata_done (call_frame_t *frame, xlator_t *this)
priv = this->private;
// memset (sh->child_errno, 0, sizeof (int) * priv->child_count);
- memset (sh->buf, 0, sizeof (struct stat) * priv->child_count);
+ memset (sh->buf, 0, sizeof (struct iatt) * priv->child_count);
memset (sh->success, 0, sizeof (int) * priv->child_count);
/* for (i = 0; i < priv->child_count; i++) { */