Patchwork [BUG:2333] gluster rebalance: send the proper 'procnum' to glusterd

login
register
Submitter Amar Tumballi
Date 2011-03-01 12:25:03
Message ID <20110301122503.GA9855@gluster.com>
Download mbox | patch
Permalink /patch/6317/
State Accepted
Delegated to: Anand Avati
Headers show

Comments

Amar Tumballi - 2011-03-01 12:25:03
Signed-off-by: Amar Tumballi <amar@gluster.com>
---
 cli/src/cli-rpc-ops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index c2373e2..d4cced6 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1729,7 +1729,7 @@  gf_cli3_1_defrag_volume (call_frame_t *frame, xlator_t *this,
         req.volname = volname;
 
         ret = cli_cmd_submit (&req, frame, cli_rpc_prog,
-                              GD_MGMT_CLI_DEFRAG_VOLUME, NULL,
+                              GLUSTER_CLI_DEFRAG_VOLUME, NULL,
                               gf_xdr_from_cli_defrag_vol_req,
                               this, gf_cli3_1_defrag_volume_cbk);