summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-10-27 09:37:56 +0530
committerDan Lambright <dlambrig@redhat.com>2015-10-30 14:10:53 -0700
commitd1b488fbf9b0b985657297f842819785b7599e5d (patch)
tree0a841a65db633f2faf24723ca06960927d1b4130 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parent5583bac79851d24f0a552478b361049fe63c32b7 (diff)
afr/glusterd: Fix naming issue in tier related changes
changing some of the function names added recently as part of the tiering changes. Change-Id: I238831128ee00cdf83f8a80be937d3528d133099 BUG: 1275489 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/12431 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index e837b2fc83a..6c32c9bd980 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4277,8 +4277,8 @@ volgen_graph_set_iam_shd (volgen_graph_t *graph)
}
static int
-prepare_shd_volume_options_for_tier (glusterd_volinfo_t *volinfo,
- dict_t *set_dict)
+glusterd_prepare_shd_volume_options_for_tier (glusterd_volinfo_t *volinfo,
+ dict_t *set_dict)
{
int ret = -1;
char *key = NULL;
@@ -4308,7 +4308,8 @@ prepare_shd_volume_options (glusterd_volinfo_t *volinfo,
int ret = 0;
if (volinfo->type == GF_CLUSTER_TYPE_TIER) {
- ret = prepare_shd_volume_options_for_tier (volinfo, set_dict);
+ ret = glusterd_prepare_shd_volume_options_for_tier (volinfo,
+ set_dict);
if (ret)
goto out;
} else {
@@ -4433,7 +4434,7 @@ out:
}
gf_boolean_t
-is_self_heal_enabled (glusterd_volinfo_t *volinfo, dict_t *dict)
+gd_is_self_heal_enabled (glusterd_volinfo_t *volinfo, dict_t *dict)
{
char *shd_key = NULL;