Skip to content

Commit

Permalink
btrfs: fix strange indentation in lookup_extent_mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Christoph Hellwig authored and Chris Mason committed Sep 25, 2008
1 parent 95c9eb1 commit 306929f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 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 306929f

Please sign in to comment.