Chris Mason 5f56406aab Btrfs: Fix hole insertion corner cases
There were a few places that could cause duplicate extent insertion,
this adjusts the code that creates holes to avoid it.

lookup_extent_map is changed to correctly return all of the extents in a
range, even when there are none matching at the start of the range.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:59 -04:00
..
2007-07-11 10:00:37 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:03:59 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:03:59 -04:00
2008-09-25 11:03:59 -04:00
2008-09-25 11:03:59 -04:00
2007-06-12 09:07:21 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:03:59 -04:00
2008-09-25 11:03:59 -04:00
2007-06-22 14:49:31 -04:00
2008-09-25 11:03:59 -04:00
2008-09-25 11:03:59 -04:00
2008-09-25 11:03:58 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:03:57 -04:00