Skip to content
Commit b12a3b1e authored by Chris Mason's avatar Chris Mason Committed by Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@fusionio.com>
parent 6fc823b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment