diff options
| author | 2017-12-04 12:54:54 +0800 | |
|---|---|---|
| committer | 2018-01-22 16:08:15 +0100 | |
| commit | e6e674bd4d54fe8d47a06914f3b90752785b4882 (patch) | |
| tree | e310b1c74e52de8b03ebd48804ae262820fc6216 /kernel/sysctl_binary.c | |
| parent | btrfs: cleanup device states define BTRFS_DEV_STATE_IN_FS_METADATA (diff) | |
btrfs: cleanup device states define BTRFS_DEV_STATE_MISSING
Currently device state is being managed by each individual int
variable such as struct btrfs_device::missing. 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>
Reviewed-by : Nikolay Borisov <nborisov@suse.com>
[ whitespace adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
