From d16cdf141d449246b0b58870bd3d82efe232e5db Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 23 Apr 2013 00:58:22 +0530 Subject: cli, glusterd: Cleanup logging of bd op commands. This patch prevents messages of the form "bd op: %s : SUCCESS" from being logged in .cmd_log_history. Change-Id: Iebeb7e26d409bf99b9c8df0a5c1c5a5d30d78a61 BUG: 823081 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/4871 Reviewed-by: Krutika Dhananjay Reviewed-by: M. Mohan Kumar Tested-by: Gluster Build System Reviewed-by: Anand Avati --- cli/src/cli-rpc-ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 0bab5d42..959addf1 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) -- cgit