btrfs: switch BTRFS_FS_STATE_* to enums
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Nov 2018 13:50:27 +0000 (14:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:42 +0000 (14:51 +0100)
commitb00146b5d53c0306326eb46245901d20b69efd16
treeadbe6828cff7ecb51eb323ce09f43270ba6262fb
parentda12fe5414f922d896289f037515096f189c66da
btrfs: switch BTRFS_FS_STATE_* to enums

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

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