diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-22 22:47:59 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 17:03:59 +0200 |
commit | 5f56406aabdf5444d040c5955effc665b1d0dbaf (patch) | |
tree | 59c82cc7f5d5de3b65b6eba24b505684eb7941d6 /fs/btrfs/extent_map.h | |
parent | Btrfs: Include sched.h in the acl code for current (fixes compile on 2.6.23) (diff) | |
download | linux-5f56406aabdf5444d040c5955effc665b1d0dbaf.tar.xz linux-5f56406aabdf5444d040c5955effc665b1d0dbaf.zip |
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>
Diffstat (limited to 'fs/btrfs/extent_map.h')
0 files changed, 0 insertions, 0 deletions