aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>2021-02-23 09:41:55 -0800
committerTheodore Ts'o <tytso@mit.edu>2021-02-23 12:58:03 -0500
commit11797844f48882506e1ca0b92e52b036391f3b32 (patch)
tree93f6348c2f2daedbcc1d3bff1946b468b605107d
parentc5ff455e42d2f2715fe3245fa8c63c87f05af97c (diff)
downloade2fsprogs-11797844f48882506e1ca0b92e52b036391f3b32.tar.gz
e2fsck: add fallthrough comment in fc replay switch case
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>
-rw-r--r--e2fsck/journal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/e2fsck/journal.c b/e2fsck/journal.c
index 2708942ab..a67ef745e 100644
--- a/e2fsck/journal.c
+++ b/e2fsck/journal.c
@@ -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: