]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Add fallthrough for switch statement per_vma_lock
authorLiam Howlett <Liam.Howlett@oracle.com>
Fri, 25 Nov 2022 15:52:38 +0000 (10:52 -0500)
committerLiam Howlett <Liam.Howlett@oracle.com>
Fri, 25 Nov 2022 15:52:38 +0000 (10:52 -0500)
Now that tools support fallthrough, use it where necessary

Signed-off-by: Liam Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c

index 79c4e27b4931c2c7c642562075838d10729cc4f7..cd48618342739adbd87721812cb75b25d21c49a4 100644 (file)
@@ -924,6 +924,7 @@ static inline void mas_clear_meta(struct ma_state *mas, struct maple_node *mn,
                        if (unlikely((mte_to_node(next) && mte_node_type(next))))
                                return; /* The last slot is a node, no metadata */
                }
+               fallthrough;
        case maple_arange_64:
                meta = ma_meta(mn, mt);
                break;