summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-29 18:04:01 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-29 09:15:52 -0700
commit6d1e6a5b7c447d612684de1a75b6701b1f628fb6 (patch)
treeda6b27ac95c46743c4467adf52f3638d65d477cd /xlators/mgmt/glusterd
parenta8270c537c257da13c4b48c1524ecb77ee67308f (diff)
glusterd: prevent rebalance being called in volume status execution
Change-Id: I70e7d38a5cb3f6b0033ab9cabd7dfed0c68b77b8 BUG: 3668 Reviewed-on: http://review.gluster.com/534 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rpc-ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
index 615446a62..06bee97b5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
@@ -1533,6 +1533,7 @@ glusterd3_1_commit_op_cbk (struct rpc_req *req, struct iovec *iov,
ret = glusterd_volume_status_use_rsp_dict (dict);
if (ret)
goto out;
+ break;
case GD_OP_REBALANCE:
ret = glusterd_volume_rebalance_use_rsp_dict (dict);