From: Jan Schmidt Date: Fri, 19 Oct 2012 07:22:03 +0000 (+0200) Subject: Btrfs: don't put removals from push_node_left into tree mod log twice X-Git-Tag: v3.7-rc3~21^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57911b8ba814fae01306376a0d02bc7cdc88dc94;p=pandora-kernel.git Btrfs: don't put removals from push_node_left into tree mod log twice Independant of the check (push_items < src_items) tree_mod_log_eb_copy did log the removal of the old data entries from the source buffer. Therefore, we must not call tree_mod_log_eb_move if the check evaluates to true, as that would log the removal twice, finally resulting in (rewinded) buffers with wrong values for header_nritems. Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed