diff options
author | 2021-12-07 06:28:36 -0800 | |
---|---|---|
committer | 2022-01-07 14:18:26 +0100 | |
commit | 554aed7da29bcadb3ee3cfdc1376da660d3fc849 (patch) | |
tree | 2928f0e946007f16721f5d783d4aa1ee706fd261 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: simplify btrfs_check_meta_write_pointer (diff) | |
download | wireguard-linux-554aed7da29bcadb3ee3cfdc1376da660d3fc849.tar.xz wireguard-linux-554aed7da29bcadb3ee3cfdc1376da660d3fc849.zip |
btrfs: zoned: sink zone check into btrfs_repair_one_zone
Sink zone check into btrfs_repair_one_zone() so we don't need to do it
in all callers.
Also as btrfs_repair_one_zone() doesn't return a sensible error, make it
a boolean function and return false in case it got called on a non-zoned
filesystem and true on a zoned filesystem.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
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