diff options
author | Girjesh Rajoria <grajoria@redhat.com> | 2017-11-02 17:52:08 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-11-07 10:13:28 +0000 |
commit | 66d8a70c36f874debf6a460573f3b384fe19a2a3 (patch) | |
tree | 2b0b4f204bdf56f2406659a400b2a2e53cc8fade | |
parent | e4240431b033d1f0c351d3d874c248126ca6cadc (diff) |
xlators/mgmt/glusterd/: Coverity Issue MISSING_BREAK in glusterd_op_stage_rebalance
Coverity ID: 297, 298
Issue: Event unterminated_case
Added Fall through in comment.
Change-Id: Ied742e64d9741cc974906921dcca80f0b738b7d6
BUG: 789278
Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-rebalance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c index 58dcb860ca3..bbf624b44c5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c +++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c @@ -676,6 +676,7 @@ glusterd_op_stage_rebalance (dict_t *dict, char **op_errstr) ret = -1; goto out; } + /* Fall through */ case GF_DEFRAG_CMD_START: case GF_DEFRAG_CMD_START_LAYOUT_FIX: /* Check if the connected clients are all of version @@ -697,7 +698,7 @@ glusterd_op_stage_rebalance (dict_t *dict, char **op_errstr) volname); goto out; } - + /* Fall through */ case GF_DEFRAG_CMD_START_FORCE: if (is_origin_glusterd (dict)) { op_ctx = glusterd_op_get_ctx (); |