btrfs: switch EXTENT_FLAG_* to enums
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 14:11:43 +0000 (15:11 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:43 +0000 (14:51 +0100)
commit50b5b6020fc3e2c4c67ff28bf3986a1e70bffc7d
tree0dcf9edac103ce1e845a2b92aff7d0cb2454c4fd
parent80cb38362d330e1e4156a4904c17ce994589bd7d
btrfs: switch EXTENT_FLAG_* to enums

We can use simple enum for values that are not part of on-disk format:
extent map 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/extent_map.h