diff options
author | Shijie Luo <luoshijie1@huawei.com> | 2020-08-11 04:21:28 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-08-19 18:04:35 +0200 |
commit | 00a3fff0712cd9cc4112ecf6da0916f8503e2a86 (patch) | |
tree | 7b3292c2f31f794eb401754d5f6c1d9f305e58af /fs/cramfs | |
parent | ext4: change to use fallthrough macro (diff) | |
download | linux-00a3fff0712cd9cc4112ecf6da0916f8503e2a86.tar.xz linux-00a3fff0712cd9cc4112ecf6da0916f8503e2a86.zip |
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>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions