commit | b12a3b1ea209d9dec02731fba58c3dbe7d31cfd8 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@fusionio.com> | Tue Aug 07 15:34:49 2012 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Aug 28 16:53:34 2012 -0400 |
tree | 9e4a1e663a040b5b8af6b266bcb53a6a7fba437f | |
parent | 6fc823b10f333313deb0b5d9069cbfd3a3f99f3a [diff] |
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 <chris.mason@fusionio.com>