aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2021-04-14 14:05:26 +0100
committerDavid Sterba <[email protected]>2021-04-20 19:32:43 +0200
commit0dc16ef4f6c2708407fab6d141908d46a3b737bc (patch)
treebd557553ae941f9d9fabd0c8c12bfd3231607cf9 /tools/perf/scripts/python/export-to-sqlite.py
parentf9690f426b2134cc3e74bfc5d9dfd6a4b2ca5281 (diff)
btrfs: zoned: fix unpaired block group unfreeze during device replace
When doing a device replace on a zoned filesystem, if we find a block group with ->to_copy == 0, we jump to the label 'done', which will result in later calling btrfs_unfreeze_block_group(), even though at this point we never called btrfs_freeze_block_group(). Since at this point we have neither turned the block group to RO mode nor made any progress, we don't need to jump to the label 'done'. So fix this by jumping instead to the label 'skip' and dropping our reference on the block group before the jump. Fixes: 78ce9fc269af6e ("btrfs: zoned: mark block groups to copy for device-replace") CC: [email protected] # 5.12 Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions