linux/fs/jbd2
Shijie Luo 00a3fff071 jbd2: clean up checksum verification in do_one_pass()
Remove the unnecessary chksum_err and checksum_seen variables as well as
some redundant code to make the function easier to understand.

[ With changes suggested by jack@ and tytso@ ]

Signed-off-by: Shijie Luo <luoshijie1@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200819122955.33526-1-luoshijie1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2020-08-19 12:04:35 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
checkpoint.c block: remove the error_sector argument to blkdev_issue_flush 2020-05-22 08:45:46 -06:00
commit.c block: remove the error_sector argument to blkdev_issue_flush 2020-05-22 08:45:46 -06:00
journal.c jbd2: fix incorrect code style 2020-08-07 14:12:35 -04:00
recovery.c jbd2: clean up checksum verification in do_one_pass() 2020-08-19 12:04:35 -04:00
revoke.c jbd2: Reserve space for revoke descriptor blocks 2019-11-05 16:00:48 -05:00
transaction.c jbd2: remove unused parameter in jbd2_journal_try_to_free_buffers() 2020-08-07 14:12:35 -04:00