Skip to content
Commit 5f56406a authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent c1e32da6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment