diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2019-05-22 10:18:59 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 13:35:00 +0200 |
commit | 65019df8c3b0efa363c30ca4dd69a1a370a3ebe8 (patch) | |
tree | 868cb694ca3028669910449e92b11426e54b97f9 /fs/befs | |
parent | 5852c8b961542f997aa5aeee9c80e745e7af2d63 (diff) | |
download | linux-65019df8c3b0efa363c30ca4dd69a1a370a3ebe8.tar.gz linux-65019df8c3b0efa363c30ca4dd69a1a370a3ebe8.tar.bz2 linux-65019df8c3b0efa363c30ca4dd69a1a370a3ebe8.zip |
btrfs: resurrect btrfs_crc32c()
Commit 9678c54388b6 ("btrfs: Remove custom crc32c init code") removed
the btrfs_crc32c() function, because it was a duplicate of the crc32c()
library function we already have in the kernel.
Resurrect it as a shim wrapper over crc32c() to make following
transformations of the checksumming code in btrfs easier.
Also provide a btrfs_crc32_final() to ease following transformations.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions