diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-06-10 21:20:41 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-06-10 10:20:27 -0700 |
commit | 092dc2676b48659faa09c6606ce0280e14bbcf63 (patch) | |
tree | 8e9f9126610bef208e29fe127fb3fd540b295510 | |
parent | f067918725ead7276fa4f0bfa1dca1be3459378e (diff) |
cluster/afr: Avoid return value truncationv3.2.7
Change-Id: I947316a0e1112bf3c7b7e21aefce96685a9d06db
BUG: 804606
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3543
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 2 |
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 3987325b8..e16096849 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; |