summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
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
commitc8c33da4e4b20f4dc717bdcac7a6fa10f8cb323a (patch)
tree15d7a97e43383fe254c392765c9b9a1c95a7bbad /xlators/cluster
parentc6d33dfbdc9db147fa6028d8c3daa8e79b0b4276 (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')
-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],