aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-06-03 16:58:55 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:35:01 +0200
commit51bce6c9b97729835bb55ceb37febd5c8fa962dd (patch)
treeb45b55b970701ec22c84e2c537db72c9d21debd7 /tools/perf/scripts/python/export-to-sqlite.py
parentbtrfs: check for supported superblock checksum type before checksum validation (diff)
downloadlinux-dev-51bce6c9b97729835bb55ceb37febd5c8fa962dd.tar.xz
linux-dev-51bce6c9b97729835bb55ceb37febd5c8fa962dd.zip
btrfs: Simplify btrfs_check_super_csum() and get rid of size assumptions
Now that we have already checked for a valid checksum type before calling btrfs_check_super_csum(), it can be simplified even further. While at it get rid of the implicit size assumption of the resulting checksum as well. This is a preparation for changing all checksum functionality to use the crypto layer later. 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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions