commit | c31931088fd6cf953bd0868a2647b6c3928e6c96 | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Thu May 31 19:24:36 2012 +0200 |
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | Thu May 31 19:56:19 2012 +0200 |
tree | 657827f1fd4be55e2f1d52a661c8803b80c08de7 | |
parent | f395694c2cd76cb1882fa82dd37e761598367fe9 [diff] |
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: Jan Schmidt <list.btrfs@jan-o-sch.net>