As of now device properties and states are being represented as int variable. Patches in the ML such as device failed state needs this cleanup as well.
Anand Jain (4): btrfs: cleanup device states define BTRFS_DEV_STATE_WRITEABLE btrfs: cleanup device states define BTRFS_DEV_STATE_IN_FS_METADATA btrfs: cleanup device states define BTRFS_DEV_STATE_MISSING btrfs: cleanup device states define BTRFS_DEV_STATE_CAN_DISCARD fs/btrfs/dev-replace.c | 3 +- fs/btrfs/disk-io.c | 23 ++++++--- fs/btrfs/extent-tree.c | 5 +- fs/btrfs/extent_io.c | 3 +- fs/btrfs/ioctl.c | 2 +- fs/btrfs/scrub.c | 13 +++-- fs/btrfs/super.c | 7 +-- fs/btrfs/volumes.c | 129 ++++++++++++++++++++++++++++--------------------- fs/btrfs/volumes.h | 10 ++-- 9 files changed, 118 insertions(+), 77 deletions(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html