Whamcloud - gitweb
e2fsck: add fallthrough comment in fc replay switch case
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Tue, 23 Feb 2021 17:41:55 +0000 (09:41 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Feb 2021 17:58:03 +0000 (12:58 -0500)
During fast commit replay scan phase, in ext4_fc_replay_scan(), we
want to fallthrough in switch case for EXT4_FC_TAG_ADD_RANGE case. Add
a comment for that.

Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/journal.c

index 2708942..a67ef74 100644 (file)
@@ -325,6 +325,7 @@ static int ext4_fc_replay_scan(journal_t *j, struct buffer_head *bh,
                                ret = JBD2_FC_REPLAY_STOP;
                        else
                                ret = JBD2_FC_REPLAY_CONTINUE;
+                       /* fallthrough */
                case EXT4_FC_TAG_DEL_RANGE:
                case EXT4_FC_TAG_LINK:
                case EXT4_FC_TAG_UNLINK: