Commit 306929f3 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Chris Mason

btrfs: fix strange indentation in lookup_extent_mapping

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 95c9eb17
...@@ -231,7 +231,13 @@ struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree, ...@@ -231,7 +231,13 @@ struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree,
{ {
struct extent_map *em; struct extent_map *em;
struct rb_node *rb_node; 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); rb_node = __tree_search(&tree->map, start, &prev, &next);
if (!rb_node && prev) { if (!rb_node && prev) {
......
Markdown is supported
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