提交 306929f3 编写于 作者: C Christoph Hellwig 提交者: Chris Mason

btrfs: fix strange indentation in lookup_extent_mapping

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 95c9eb17
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册