From: Jan Schmidt Date: Sat, 13 Apr 2013 13:19:53 +0000 (+0000) Subject: Btrfs: fix tree mod log regression on root split operations X-Git-Tag: v3.10-rc1~31^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f8d62ebb55e2188c1618b650378f9857f9e9a4;p=pandora-kernel.git Btrfs: fix tree mod log regression on root split operations Commit d9abbf1c changed tree mod log locking around ROOT_REPLACE operations. When a tree root is split, however, we were logging removal of all elements from the root node before logging removal of half of the elements for the split operation. This leads to a BUG_ON when rewinding. This commit removes the erroneous logging of removal of all elements. Signed-off-by: Jan Schmidt Signed-off-by: Josef Bacik --- Reading git-diff-tree failed