[PATCH 3/4] e2fsck: add fallthrough comment in fc replay switch case
From: Harshad Shirwadkar <hidden>
Date: 2021-02-19 21:04:34
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Harshad Shirwadkar <hidden>
Date: 2021-02-19 21:04:34
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Harshad Shirwadkar <redacted> 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 <redacted> --- e2fsck/journal.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/e2fsck/journal.c b/e2fsck/journal.c
index 2708942a..a67ef745 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:
--
2.30.0.617.g56c4b15f3c-goog