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

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: default avatarChris Mason <chris.mason@oracle.com>
parent 25524883
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