summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-data.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-03-13 10:00:44 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-13 03:28:08 -0700
commitdda1b36b3be97170224c8f4e4f25a1362d288f02 (patch)
tree92727259f068a4b9905f15f7c71fca29b501e7cf /xlators/cluster/afr/src/afr-self-heal-data.c
parentdbed7dcdbd0f8906c11ea4ee4d88f47059db7126 (diff)
cluster/afr: Mark zero size file as sink in absense of xattrs.
Change-Id: Ic9381f9caa7021a629afb7401e51a29686880bfe BUG: 802637 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/2931 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c
index 4aa5b9e8644..7d2c86eedae 100644
--- a/xlators/cluster/afr/src/afr-self-heal-data.c
+++ b/xlators/cluster/afr/src/afr-self-heal-data.c
@@ -596,7 +596,7 @@ afr_sh_data_fix (call_frame_t *frame, xlator_t *this)
nsources = afr_build_sources (this, sh->xattr, sh->buf, sh->pending_matrix,
sh->sources, sh->child_success,
- AFR_DATA_TRANSACTION, NULL, _gf_false);
+ AFR_DATA_TRANSACTION, NULL, _gf_true);
if (nsources == 0) {
gf_log (this->name, GF_LOG_DEBUG,