summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-06-03 02:17:19 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-08 06:37:37 -0700
commit1d940e5ab2baeb901792f4b60a3abf3fcec19491 (patch)
treeb3cd50596b52ca4565140673846e0d0667fb6df3 /xlators/cluster/afr
parenta4a0054caee6c75ae442d4984b95bf9753eded36 (diff)
Fix crash in afr data self heal. Bugzilla ID: 3
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c
index 05f9000cad4..06372d47d39 100644
--- a/xlators/cluster/afr/src/afr-self-heal-data.c
+++ b/xlators/cluster/afr/src/afr-self-heal-data.c
@@ -190,6 +190,8 @@ afr_sh_data_close (call_frame_t *frame, xlator_t *this)
priv->children[i]->fops->flush,
sh->healing_fd);
+ call_count--;
+
STACK_WIND_COOKIE (frame, afr_sh_data_utimes_cbk,
(void *) (long) i,
priv->children[i],