+3
−2
+1
−1
+1
−1
+1
−1
+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Currently device state is being managed by each individual int variable such as struct btrfs_device::is_tgtdev_for_dev_replace. Instead of that declare btrfs_device::dev_state BTRFS_DEV_STATE_MISSING and use the bit operations. Signed-off-by:Anand Jain <anand.jain@oracle.com> [ whitespace adjustments ] Signed-off-by:
David Sterba <dsterba@suse.com>