summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunil Kumar Acharya <sheggodu@redhat.com>2017-10-31 14:56:40 +0530
committerXavier Hernandez <jahernan@redhat.com>2017-10-31 22:16:14 +0000
commitbb7fd73ce4245f54517de1f378a9471f6c8bb454 (patch)
tree15b5bc20c2d5ee6f6737858173a594d32a666904
parentfd397e59d8856e4d5f1ccbec1baaedb71623951e (diff)
cluster/ec: MISSING_BREAK coverity fix
Problem: switch case syntax issue. Solution: syntax fixed. BUG: 789278 Change-Id: I76da72c3ab6ffc5db671686a71d6a596beaf496e Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
-rw-r--r--xlators/cluster/ec/src/ec-heal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-heal.c b/xlators/cluster/ec/src/ec-heal.c
index 9bf7ab8e597..a75d4717228 100644
--- a/xlators/cluster/ec/src/ec-heal.c
+++ b/xlators/cluster/ec/src/ec-heal.c
@@ -1219,6 +1219,9 @@ ec_create_name (call_frame_t *frame, ec_t *ec, inode_t *parent, char *name,
if (ret != 0) {
goto out;
}
+
+ /* Fall through */
+
default:
ret = dict_set_int32 (xdata, GLUSTERFS_INTERNAL_FOP_KEY,
1);