summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-ops.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-volume-ops.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-volume-ops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
index a20036af89f..75f11e742b6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
@@ -676,7 +676,7 @@ glusterd_handle_cli_delete_volume (rpcsvc_request_t *req)
__glusterd_handle_cli_delete_volume);
}
static char*
-_get_shd_key (int type)
+gd_get_shd_key (int type)
{
char *key = NULL;
@@ -703,7 +703,7 @@ glusterd_handle_shd_option_for_tier (glusterd_volinfo_t *volinfo,
char *key = NULL;
int ret = 0;
- key = _get_shd_key (volinfo->tier_info.cold_type);
+ key = gd_get_shd_key (volinfo->tier_info.cold_type);
if (key) {
count++;
snprintf (dict_key, sizeof (dict_key), "key%d", count);
@@ -716,7 +716,7 @@ glusterd_handle_shd_option_for_tier (glusterd_volinfo_t *volinfo,
goto out;
}
- key = _get_shd_key (volinfo->tier_info.hot_type);
+ key = gd_get_shd_key (volinfo->tier_info.hot_type);
if (key) {
count++;
snprintf (dict_key, sizeof (dict_key), "key%d", count);
@@ -1890,7 +1890,7 @@ glusterd_op_stage_heal_volume (dict_t *dict, char **op_errstr)
ret = 0;
goto out;
}
- enabled = is_self_heal_enabled (volinfo, opt_dict);
+ enabled = gd_is_self_heal_enabled (volinfo, opt_dict);
if (!enabled) {
ret = -1;
snprintf (msg, sizeof (msg), "Self-heal-daemon is "