diff options
-rw-r--r-- | cli/src/cli-rpc-ops.c | 8 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 0bab5d42b2b..959addf1a0c 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -3031,10 +3031,10 @@ gf_cli_bd_op (call_frame_t *frame, xlator_t *this, &req.dict.dict_len); - ret = cli_cmd_submit (&req, frame, cli_rpc_prog, - GLUSTER_CLI_BD_OP, NULL, - this, gf_cli_bd_op_cbk, - (xdrproc_t) xdr_gf_cli_req); + ret = cli_to_glusterd (&req, frame, gf_cli_bd_op_cbk, + (xdrproc_t)xdr_gf_cli_req, dict, + GLUSTER_CLI_BD_OP, this, cli_rpc_prog, + NULL); out: if (dict) diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 38427d82292..a74c52303be 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1146,7 +1146,6 @@ __glusterd_handle_cli_bd_op (rpcsvc_request_t *req) ret = glusterd_op_begin (req, GD_OP_BD_OP, dict, op_errstr, sizeof (op_errstr)); - gf_cmd_log ("bd op: %s", ((ret == 0) ? "SUCCESS": "FAILED")); out: if (ret && dict) dict_unref (dict); |