]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: comment fall-thru
authorSage Weil <sage.weil@dreamhost.com>
Fri, 26 Aug 2011 16:00:08 +0000 (09:00 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 26 Aug 2011 16:11:16 +0000 (09:11 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/crush/mapper.c

index 13712c87f33eb46beb55b0334558c84dec5064f9..cb8195aa5756a9b3593ae43125a84f52d2428c88 100644 (file)
@@ -529,6 +529,7 @@ int crush_do_rule(struct crush_map *map,
                case CRUSH_RULE_CHOOSE_LEAF_FIRSTN:
                case CRUSH_RULE_CHOOSE_FIRSTN:
                        firstn = 1;
+                       /* fall through */
                case CRUSH_RULE_CHOOSE_LEAF_INDEP:
                case CRUSH_RULE_CHOOSE_INDEP:
                        BUG_ON(wsize == 0);