diff options
author | 2017-12-04 12:54:55 +0800 | |
---|---|---|
committer | 2018-01-22 16:08:15 +0100 | |
commit | 401e29c124eac2b9373eb72f36f202561da339d2 (patch) | |
tree | eb32408cafe3f1f2b5f24a8f2a5e2e6d23150d9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: cleanup device states define BTRFS_DEV_STATE_MISSING (diff) | |
download | linux-dev-401e29c124eac2b9373eb72f36f202561da339d2.tar.xz linux-dev-401e29c124eac2b9373eb72f36f202561da339d2.zip |
btrfs: cleanup device states define BTRFS_DEV_STATE_REPLACE_TGT
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions