]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: push the NODATASUM check into btrfs_lookup_bio_sums
authorJosef Bacik <josef@toxicpanda.com>
Fri, 16 Oct 2020 15:29:14 +0000 (11:29 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:53:39 +0000 (15:53 +0100)
commit17888cb25530395cd082b3a5f1c302b79db6d2c9
treefcb81b2facd3c4c1d68a0ef34a6200d091b3e210
parentdababf3f3d0c99dc2c0e60d1f8abbd9122d710c8
btrfs: push the NODATASUM check into btrfs_lookup_bio_sums

When we move to being able to handle NULL csum_roots it'll be cleaner to
just check in btrfs_lookup_bio_sums instead of at all of the caller
locations, so push the NODATASUM check into it as well so it's unified.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/file-item.c
fs/btrfs/inode.c