Skip to content
Commit 73e48b27 authored by Yan's avatar Yan Committed by Chris Mason
Browse files

Btrfs: Properly handle overlapping extent in shrink_extent_tree



The patch fixes the overlapping extent issue in shrink_extent_tree.
It checks whether there is an overlapping extent by using
find_previous_extent. If there is an overlapping extent, it setups
key.objectid and cur_byte properly.

---

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent d548ee51
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