diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2015-10-27 09:37:56 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-10-30 14:10:53 -0700 |
commit | d1b488fbf9b0b985657297f842819785b7599e5d (patch) | |
tree | 0a841a65db633f2faf24723ca06960927d1b4130 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 5583bac79851d24f0a552478b361049fe63c32b7 (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-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index e42f119099b..ff56c9f3f39 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -6369,7 +6369,7 @@ out: } static inline int -is_replica_volume (int type) +glusterd_is_replica_volume (int type) { if (type == GF_CLUSTER_TYPE_REPLICATE || type == GF_CLUSTER_TYPE_STRIPE_REPLICATE) @@ -6381,11 +6381,13 @@ glusterd_is_volume_replicate (glusterd_volinfo_t *volinfo) { gf_boolean_t replicates = _gf_false; if (volinfo->type == GF_CLUSTER_TYPE_TIER) { - replicates = is_replica_volume (volinfo->tier_info.cold_type) | - is_replica_volume (volinfo->tier_info.hot_type); + replicates = glusterd_is_replica_volume + (volinfo->tier_info.cold_type) | + glusterd_is_replica_volume + (volinfo->tier_info.hot_type); return replicates; } - return is_replica_volume ((volinfo->type)); + return glusterd_is_replica_volume ((volinfo->type)); } gf_boolean_t |