summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-19 15:21:37 +0200
committerAnand Avati <avati@redhat.com>2012-07-11 19:11:21 -0700
commit3c28358a6ff00cb05bfccd8be15f4d204aaccefd (patch)
treea42d4d113b14be5969a6f2e41c51525200caf818 /xlators/cluster
parent22aa93129319a667b004111a4385520a4ba30060 (diff)
xlator options: remove overwritten data-self-heal initializer
In the struct volume_options, the "data-self-heal" .default_value = "" setting appeared before a setting of .default_value = "on". Remove the former. Change-Id: Ieddcc18f61581f9448d806cd8bf8eefaaf0118b9 BUG: 789278 Signed-off-by: Jim Meyering <meyering@redhat.com> Reviewed-on: http://review.gluster.com/3589 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 108c82778db..846f985de51 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -560,7 +560,6 @@ struct volume_options options[] = {
},
{ .key = {"data-self-heal"},
.type = GF_OPTION_TYPE_STR,
- .default_value = "",
.value = {"1", "on", "yes", "true", "enable",
"0", "off", "no", "false", "disable",
"open"},