Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Btrfs: Fix split_leaf to detect when it is extending an item



When making room for a new item, it is ok to create an empty leaf, but
when making room to extend an item, split_leaf needs to make sure it
keeps the item we're extending in the path and make sure we don't end up
with an empty leaf.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 65555a06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment