aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ulist.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-08-30 13:36:09 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:19 +0200
commitaf024ed2e0e56f27279cdba4d27a23dbb7677e40 (patch)
treec7d8d0d5e4d23647c58efee6ee9db6057f127b5c /fs/btrfs/ulist.c
parentbtrfs: turn checksum type define into an enum (diff)
downloadlinux-dev-af024ed2e0e56f27279cdba4d27a23dbb7677e40.tar.xz
linux-dev-af024ed2e0e56f27279cdba4d27a23dbb7677e40.zip
btrfs: create structure to encode checksum type and length
Create a structure to encode the type and length for the known on-disk checksums. This makes it easier to add new checksums later. The structure and helpers are moved from ctree.h so they don't occupy space in all headers including ctree.h. This save some space in the final object. 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/btrfs/ulist.c')
0 files changed, 0 insertions, 0 deletions