summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-08-26 00:39:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-26 00:09:32 -0700
commitd13ddaf872915e16de37acdd7ccd913f3077a95d (patch)
tree3c07c8a3850cd6c91dbe75610378732ea9a7387b /xlators/cluster/afr/src/afr-self-heal-common.c
parente541154b79f8632fa82fa5b4f8f27aa2cb4ea55a (diff)
replace struct stat by stuct iattv3.1.0qa9
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1441 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1441
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 6cf8d52e730..0bf3a40520d 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -758,7 +758,7 @@ afr_sh_missing_entries_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);
for (i = 0; i < priv->child_count; i++) {
sh->locked_nodes[i] = 0;