diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 07:50:06 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:51 +0100 |
commit | e52190441bd6b268aed6ecc0efe3614c4222014e (patch) | |
tree | 3549ee59ad9184ba75b9c456394e88feda7183af /fs/btrfs/compression.c | |
parent | 1c2b3ee3b0ec4bc971e23fe18d4c92333a6ad18a (diff) |
btrfs: add a btrfs_data_csum_ok helper
Add a new checksumming helper that wraps btrfs_check_data_csum and
does all the checks to if we're dealing with some form of nodatacsum
I/O. This helper will be used by the new storage layer checksum
validation and repair code.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions