mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
Properly call btrfs_search_slot while shrinking
The shrinking code used btrfs_next_leaf to find the next item, but this does not cow the blocks it touches. This fix calls search_slot after finding the next item to do appropriate cow and balancing. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
2552488345
commit
1372f8e609
1 changed files with 9 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue