commit | ebbede42d47dc77d1c20e7468418826e5efa6b29 | [log] [tgz] |
---|---|---|
author | Anand Jain <[email protected]> | Mon Dec 04 12:54:52 2017 +0800 |
committer | David Sterba <[email protected]> | Mon Jan 22 16:08:15 2018 +0100 |
tree | 21765212b290a2704ffe2dd0f4a9b8ec80f0c04f | |
parent | 3c958bd23b60c22947b857d2cb13196e2cc58c58 [diff] |
btrfs: cleanup device states define BTRFS_DEV_STATE_WRITEABLE Currently device state is being managed by each individual int variable such as struct btrfs_device::writeable. Instead of that declare device state BTRFS_DEV_STATE_WRITEABLE and use the bit operations. Signed-off-by: Anand Jain <[email protected]> [ whitespace adjustments ] Signed-off-by: David Sterba <[email protected]>