Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
306929f3
Commit
306929f3
authored
Jun 10, 2008
by
Christoph Hellwig
Committed by
Chris Mason
Sep 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: fix strange indentation in lookup_extent_mapping
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
95c9eb17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
fs/btrfs/extent_map.c
fs/btrfs/extent_map.c
+7
-1
No files found.
fs/btrfs/extent_map.c
View file @
306929f3
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment