diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-05-31 19:24:36 +0200 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-05-31 19:56:19 +0200 |
commit | c31931088fd6cf953bd0868a2647b6c3928e6c96 (patch) | |
tree | 657827f1fd4be55e2f1d52a661c8803b80c08de7 /fs/btrfs/extent-tree.c | |
parent | f395694c2cd76cb1882fa82dd37e761598367fe9 (diff) | |
download | blackbird-op-linux-c31931088fd6cf953bd0868a2647b6c3928e6c96.tar.gz blackbird-op-linux-c31931088fd6cf953bd0868a2647b6c3928e6c96.zip |
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>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions