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
committerAtin Mukherjee <amukherj@redhat.com>2015-12-02 00:49:21 -0800
commit43c1a95b44f937b3e9d072bab87bb1e8817c1249 (patch)
tree4f1890f752ec7b442df37e49781d0974d6f728dd /xlators/mgmt/glusterd/src/glusterd-volgen.c
parent58539176e0152fdb09f093d0cdd1cfc7840a5a4f (diff)
afr/glusterd: Fix naming issue in tier related changes
changing some of the function names added recently as part of the tiering changes. Back port of> >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> Change-Id: Id2125e20690e697948a7e48529d853626e345879 BUG: 1285978 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/12774 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@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 cb25dd8c20f..515afb1e80d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4287,8 +4287,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;
@@ -4318,7 +4318,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 {
@@ -4443,7 +4444,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;