Skip to content

Commit 4309a94

Browse files
Ye Bintytso
authored andcommitted
jbd2: remove redundant judgments for check v1 checksum
'need_check_commit_time' is only used by v2/v3 checksum, so there isn't need to add 'need_check_commit_time' judegement for v1 checksum logic. Signed-off-by: Ye Bin <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 5ad585b commit 4309a94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/jbd2/recovery.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ static int do_one_pass(journal_t *journal,
619619
if (pass != PASS_REPLAY) {
620620
if (pass == PASS_SCAN &&
621621
jbd2_has_feature_checksum(journal) &&
622-
!need_check_commit_time &&
623622
!info->end_transaction) {
624623
if (calc_chksums(journal, bh,
625624
&next_log_block,

0 commit comments

Comments
 (0)