btrfs: switch BTRFS_ROOT_* to enums
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 13:57:19 +0000 (14:57 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:42 +0000 (14:51 +0100)
commit61fa90c16b0b5efd1d5a6d1c74124c46e9138350
treee638b217fd7e40ab5363779b5cb9cddf588f2432
parenteb1a524c95206e41c54e8cee25a66f9488a151ef
btrfs: switch BTRFS_ROOT_* to enums

We can use simple enum for values that are not part of on-disk format:
root tree flags.

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