Skip to content
Commit 00a3fff0 authored by Shijie Luo's avatar Shijie Luo Committed by Theodore Ts'o
Browse files

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: default avatarShijie Luo <luoshijie1@huawei.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200819122955.33526-1-luoshijie1@huawei.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 70d7ced2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment