aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-06-10 10:21:04 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:03 -0400
commit306929f364b993581c91596230807fa1c022268a (patch)
tree230ce5162e96680646964d44338567af5e57f425 /fs/btrfs/extent_map.c
parent95c9eb178b96474e9d896f20f982818c5f2ceaa0 (diff)
btrfs: fix strange indentation in lookup_extent_mapping
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
-rw-r--r--fs/btrfs/extent_map.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index 268ad8facf6..ba46f7911d9 100644
--- a/fs/btrfs/extent_map.c
+++ b/fs/btrfs/extent_map.c
@@ -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) {