summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3987325b895..e1609684945 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2254,7 +2254,7 @@ afr_self_heal (call_frame_t *frame, xlator_t *this, inode_t *inode)
sh->orig_frame = frame;
sh->inode = inode_ref (inode);
- sh_local->govinda_gOvinda = afr_is_split_brain (this, sh->inode);
+ sh_local->govinda_gOvinda = (afr_is_split_brain (this, sh->inode) != 0);
sh->completion_cbk = afr_self_heal_completion_cbk;