diff options
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-metadata.c | 2 |
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++) { */ |