Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128792
b: refs/heads/master
c: 306929f
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Chris Mason committed Sep 25, 2008
1 parent 2465ead commit efde1fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95c9eb178b96474e9d896f20f982818c5f2ceaa0
refs/heads/master: 306929f364b993581c91596230807fa1c022268a
8 changes: 7 additions & 1 deletion trunk/fs/btrfs/extent_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,13 @@ struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree,
{
struct extent_map *em;
struct rb_node *rb_node;
struct rb_node *prev = NULL; struct rb_node *next = NULL; u64 end = range_end(start, len); em = tree->last; if (em && end > em->start && start < extent_map_end(em)) goto found;
struct rb_node *prev = NULL;
struct rb_node *next = NULL;
u64 end = range_end(start, len);

em = tree->last;
if (em && end > em->start && start < extent_map_end(em))
goto found;

rb_node = __tree_search(&tree->map, start, &prev, &next);
if (!rb_node && prev) {
Expand Down

0 comments on commit efde1fd

Please sign in to comment.