btrfs: switch BTRFS_FS_* to enums
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 13:55:46 +0000 (14:55 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:42 +0000 (14:51 +0100)
commiteb1a524c95206e41c54e8cee25a66f9488a151ef
treef1c6598828cdc74af66b171e030a02eb0b7773c3
parent688a75b9a30a72cd944aa5e6a428a80472f44877
btrfs: switch BTRFS_FS_* to enums

We can use simple enum for values that are not part of on-disk format:
internal filesystem states.

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