diff --git a/[refs] b/[refs] index c8ba928d2cb7..fe2911e204b9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f6dbff55d77dee363c22873481db54d3bada3ea6 +refs/heads/master: 6e3b96668eb34da6060a5189e6a73e9d62a3b178 diff --git a/trunk/fs/btrfs/file.c b/trunk/fs/btrfs/file.c index 1cc4d285951c..a280b9562221 100644 --- a/trunk/fs/btrfs/file.c +++ b/trunk/fs/btrfs/file.c @@ -481,8 +481,9 @@ int btrfs_drop_extents(struct btrfs_trans_handle *trans, search_start = (extent_end + mask) & ~mask; } else search_start = extent_end; - if (end < extent_end && start > key.offset && found_inline) { + if (end <= extent_end && start >= key.offset && found_inline) { *hint_byte = EXTENT_MAP_INLINE; + continue; } if (end < extent_end && end >= key.offset) { if (found_extent) {