summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-01-31 00:54:56 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 12:59:19 -0500
commit1c697d4acc2e10b2a65b22abba2687a2897ecd74 (patch)
treeed52efaa672b7b72d701ff3898248bd74129efce /fs/btrfs/ctree.c
parentaa43a17c21cf35329b1a495dd6876798dd8b016b (diff)
btrfs: annotate intentional switch case fallthroughs
This keeps static checkers happy. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 6eff0fa9eca..35444013f0c 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);