btrfs: turn checksum type define into an enum
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 30 Aug 2019 11:36:08 +0000 (13:36 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:19 +0000 (14:59 +0200)
commite35b79a1070d681b4842dad27b1edaf9811da7e9
treec51e13fdfa5f86a892d1a924579f71c5d1d0ac5c
parent84fe47a4be931d506670a1f126c477f5c17d3a76
btrfs: turn checksum type define into an enum

Turn the checksum type definition into a enum. This eases later addition
of new checksums.

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>
include/uapi/linux/btrfs_tree.h