diff options
| author | Johannes Thumshirn <[email protected]> | 2019-05-22 10:18:58 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-07-01 13:35:00 +0200 |
| commit | 5852c8b961542f997aa5aeee9c80e745e7af2d63 (patch) | |
| tree | 576ffd36a61ef6973f74c07511a01252fabcbac8 /tools/perf/scripts/python | |
| parent | a94d1d0cb3bf1983fcdf05b59d914dbff4f1f52c (diff) | |
btrfs: use btrfs_csum_data() instead of directly calling crc32c
btrfsic_test_for_metadata() directly calls the crc32c() library function
for calculating the CRC32C checksum, but then uses btrfs_csum_final() to
invert the result.
To ease further refactoring and development around checksumming in BTRFS
convert to calling btrfs_csum_data(), which is a wrapper around
crc32c().
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions