Btrfs: Properly handle overlapping extent in shrink_extent_tree
authorYan <yanzheng@21cn.com>
Thu, 3 Jan 2008 19:14:39 +0000 (14:14 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
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: Chris Mason <chris.mason@oracle.com>

No differences found