summaryrefslogtreecommitdiff
path: root/fs/crypto/bio.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-06-03 16:58:53 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:35:01 +0200
commite7e16f4882edb5935ff0ba81a0df25ae0b80b549 (patch)
tree2f285c655eec50448a3ae213359bb36b706f6408 /fs/crypto/bio.c
parent7ebc7e5f2c81f658b1d2f95fcde15dfd1a84b370 (diff)
btrfs: add common checksum type validation
Currently btrfs is only supporting CRC32C as checksumming algorithm. As this is about to change provide a function to validate the checksum type in the superblock against all possible algorithms. This makes adding new algorithms easier as there are fewer places to adjust when adding new algorithms. 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/crypto/bio.c')
0 files changed, 0 insertions, 0 deletions