Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ff455
)
e2fsck: add fallthrough comment in fc replay switch case
author
Harshad Shirwadkar
<harshadshirwadkar@gmail.com>
Tue, 23 Feb 2021 17:41:55 +0000
(09:41 -0800)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/e2fsck/journal.c
b/e2fsck/journal.c
index
2708942
..
a67ef74
100644
(file)
--- 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: