diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 09:50:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 21:38:51 +0300 |
commit | e52190441bd6b268aed6ecc0efe3614c4222014e (patch) | |
tree | 3549ee59ad9184ba75b9c456394e88feda7183af /fs/btrfs/dir-item.c | |
parent | 1c2b3ee3b0ec4bc971e23fe18d4c92333a6ad18a (diff) | |
download | linux-e52190441bd6b268aed6ecc0efe3614c4222014e.tar.xz |
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/dir-item.c')
0 files changed, 0 insertions, 0 deletions