aboutsummaryrefslogtreecommitdiffstats
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 268ad8facf6e..ba46f7911d99 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,
231{ 231{
232 struct extent_map *em; 232 struct extent_map *em;
233 struct rb_node *rb_node; 233 struct rb_node *rb_node;
234 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; 234 struct rb_node *prev = NULL;
235 struct rb_node *next = NULL;
236 u64 end = range_end(start, len);
237
238 em = tree->last;
239 if (em && end > em->start && start < extent_map_end(em))
240 goto found;
235 241
236 rb_node = __tree_search(&tree->map, start, &prev, &next); 242 rb_node = __tree_search(&tree->map, start, &prev, &next);
237 if (!rb_node && prev) { 243 if (!rb_node && prev) {