commit | e12c96214d28f9211b4035cf20e76d677ff5611f | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Mon Dec 04 12:54:53 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:15 2018 +0100 |
tree | c3e1781eac93c02d64fe09eb928031a0fed2b4a0 | |
parent | ebbede42d47dc77d1c20e7468418826e5efa6b29 [diff] |
btrfs: cleanup device states define BTRFS_DEV_STATE_IN_FS_METADATA Currently device state is being managed by each individual int variable such as struct btrfs_device::in_fs_metadata. Instead of that declare device state BTRFS_DEV_STATE_IN_FS_METADATA and use the bit operations. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> [ whitespace adjustments ] Signed-off-by: David Sterba <dsterba@suse.com>