summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-tier.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-tier.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-tier.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-tier.c b/xlators/mgmt/glusterd/src/glusterd-tier.c
index 03fbbfba8ec..0afdab56c9c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-tier.c
+++ b/xlators/mgmt/glusterd/src/glusterd-tier.c
@@ -1029,9 +1029,10 @@ glusterd_op_stage_tier (dict_t *dict, char **op_errstr, dict_t *rsp_dict)
goto out;
}
- ret = glusterd_remove_brick_validate_bricks (cmd, brick_count,
+ ret = glusterd_remove_brick_validate_bricks (GF_OP_CMD_NONE,
+ brick_count,
dict, volinfo,
- op_errstr);
+ op_errstr, cmd);
if (ret)
goto out;
@@ -1104,9 +1105,10 @@ glusterd_op_stage_tier (dict_t *dict, char **op_errstr, dict_t *rsp_dict)
goto out;
}
- ret = glusterd_remove_brick_validate_bricks (cmd, brick_count,
+ ret = glusterd_remove_brick_validate_bricks (GF_OP_CMD_NONE,
+ brick_count,
dict, volinfo,
- op_errstr);
+ op_errstr, cmd);
if (ret)
goto out;