mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
56bec294de
commit
44871b1b24
1 changed files with 278 additions and 180 deletions
576
fs/btrfs/ctree.c
576
fs/btrfs/ctree.c
Loading…
Add table
Add a link
Reference in a new issue