btrfs: don't call btrfs_page_set_checked in finish_compressed_bio_read
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 05:33:31 +0000 (07:33 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 17:56:16 +0000 (19:56 +0200)
commit0b078d9db8793b1bd911e97be854e3c964235c78
treecab37582986dbf785fd082cc79590e1f7ab842b9
parent81bd9328ab9f9bf818923b92a64896fd4cf58f2b
btrfs: don't call btrfs_page_set_checked in finish_compressed_bio_read

This flag was used to communicate that the low-level compression code
already did verify the checksum to the high-level I/O completion code.

But it has been unused for a long time as the upper btrfs_bio for the
decompressed data had a NULL csum pointer basically since that pointer
existed and the code already checks for that a little later.

Note that this does not affect the other use of the checked flag, which
is only used for the COW fixup worker.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/inode.c