From: Eric Sandeen Date: Thu, 31 Jan 2013 00:54:56 +0000 (+0000) Subject: btrfs: annotate intentional switch case fallthroughs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c697d4acc2e10b2a65b22abba2687a2897ecd74;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git btrfs: annotate intentional switch case fallthroughs This keeps static checkers happy. Signed-off-by: Eric Sandeen Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 6eff0fa9ecaa..35444013f0cf 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -1138,6 +1138,7 @@ __tree_mod_log_rewind(struct extent_buffer *eb, u64 time_seq, switch (tm->op) { case MOD_LOG_KEY_REMOVE_WHILE_FREEING: BUG_ON(tm->slot < n); + /* Fallthrough */ case MOD_LOG_KEY_REMOVE_WHILE_MOVING: case MOD_LOG_KEY_REMOVE: btrfs_set_node_key(eb, &tm->key, tm->slot); diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 06537d217419..976f6aac102e 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -437,6 +437,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options) case Opt_compress_force: case Opt_compress_force_type: compress_force = true; + /* Fallthrough */ case Opt_compress: case Opt_compress_type: if (token == Opt_compress ||