diff options
| author | Mark Harmstone <mark@harmstone.com> | 2026-02-25 10:36:06 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-03-03 17:03:59 +0100 |
| commit | ae1238b77feafa2f7f10bcd0432a99e098a98ec6 (patch) | |
| tree | 4dc2429d22e479fe781d01d3df1f8979e6f295b2 /tools/lib/python/kdoc | |
| parent | b2840e33127ce0eea880504b7f133e780f567a9b (diff) | |
| download | linux-ae1238b77feafa2f7f10bcd0432a99e098a98ec6.tar.gz linux-ae1238b77feafa2f7f10bcd0432a99e098a98ec6.zip | |
btrfs: read key again after incrementing slot in move_existing_remaps()
Fix move_existing_remaps() so that if we increment the slot because the
key we encounter isn't a REMAP_BACKREF, we don't reuse the objectid and
offset of the old item.
Link: https://lore.kernel.org/linux-btrfs/20260125123908.2096548-1-clm@meta.com/
Reported-by: Chris Mason <clm@fb.com>
Fixes: bbea42dfb91f ("btrfs: move existing remaps before relocating block group")
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
