From: Jan Schmidt Date: Thu, 31 May 2012 17:24:36 +0000 (+0200) Subject: Btrfs: fix tree mod log rewinded level and rewinding of moved keys X-Git-Tag: v3.5-rc1~17^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c31931088fd6cf953bd0868a2647b6c3928e6c96;p=pandora-kernel.git 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 --- Reading git-diff-tree failed