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

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

Btrfs: reduce stack usage in some crucial tree balancing functions



Many of the tree balancing functions follow the same pattern.

1) cow a block
2) do something to the result

This commit breaks them up into two functions so the variables and
code required for part two don't suck down stack during part one.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 56bec294
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment