From: Chris Mason Date: Tue, 7 Aug 2012 19:34:49 +0000 (-0400) Subject: Btrfs: don't run __tree_mod_log_free_eb on leaves X-Git-Tag: v3.6-rc4~6^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12a3b1ea209d9dec02731fba58c3dbe7d31cfd8;p=pandora-kernel.git Btrfs: don't run __tree_mod_log_free_eb on leaves When we split a leaf, we may end up inserting a new root on top of that leaf. The reflog code was incorrectly assuming the old root was always a node. This makes sure we skip over leaves. Signed-off-by: Chris Mason --- Reading git-diff-tree failed