From 1e4a2354b57a1eb173f31a15bf96b2e174fa34a5 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Tue, 31 Jul 2012 11:31:16 +0530 Subject: glusterd: Made volume set help/help-xml a non-cluster operation. - Retained apparent redundant checks in stage, commit phase of set volume for the help options for backward compatibility Change-Id: Iaefe3805d6b5eeeced2e7e4870830edf3e61dc87 BUG: 844696 Signed-off-by: Krishnan Parthasarathi Reviewed-on: http://review.gluster.com/3761 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- cli/src/cli-rpc-ops.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cli/src') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 414d5ec3..ef0dd839 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -1378,9 +1378,6 @@ gf_cli_set_volume_cbk (struct rpc_req *req, struct iovec *iov, ret = dict_unserialize (rsp.dict.dict_val, rsp.dict.dict_len, &dict); - if (ret) - goto out; - if (dict_get_str (dict, "help-str", &help_str) && !msg[0]) snprintf (msg, sizeof (msg), "Set volume %s", (rsp.op_ret) ? "unsuccessful": "successful"); -- cgit