diff options
| author | Anand Jain <[email protected]> | 2017-12-04 04:54:52 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 15:08:15 +0000 |
| commit | ebbede42d47dc77d1c20e7468418826e5efa6b29 (patch) | |
| tree | 21765212b290a2704ffe2dd0f4a9b8ec80f0c04f /fs/btrfs/dev-replace.c | |
| parent | btrfs: add helper for device path or missing (diff) | |
| download | kernel-ebbede42d47dc77d1c20e7468418826e5efa6b29.tar.gz kernel-ebbede42d47dc77d1c20e7468418826e5efa6b29.zip | |
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]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
