Skip to content
Commit c3193108 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Btrfs: fix tree mod log rewinded level and rewinding of moved keys



When we rewind REMOVE_WHILE_FREEING operations, there's code that allocates
a fresh buffer instead of cloning the old one. Setting that buffer's level
correctly was missing in this case.

When rewinding a MOVE_KEYS operation, btrfs_node_key_ptr_offset(slot) was
missing for memmove_extent_buffer()'s arguments.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent f395694c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment