btrfs: switch BTRFS_BLOCK_RSV_* to enums
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 13:53:06 +0000 (14:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:42 +0000 (14:51 +0100)
commit688a75b9a30a72cd944aa5e6a428a80472f44877
tree1cf0420c398e13ae5cbaacf56a65c0e59eef272d
parentb00146b5d53c0306326eb46245901d20b69efd16
btrfs: switch BTRFS_BLOCK_RSV_* to enums

We can use simple enum for values that are not part of on-disk format:
block reserve types.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h