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
Kirill Smelkov
linux
Commits
037e6390
Commit
037e6390
authored
Mar 07, 2007
by
Chris Mason
Committed by
David Woodhouse
Mar 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: get rid of add recursion
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
a28ec197
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
124 deletions
+96
-124
fs/btrfs/Makefile
fs/btrfs/Makefile
+1
-1
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+0
-9
fs/btrfs/extent-tree.c
fs/btrfs/extent-tree.c
+95
-114
No files found.
fs/btrfs/Makefile
View file @
037e6390
CC
=
gcc
CC
=
gcc
CFLAGS
=
-
g
-
Wall
CFLAGS
=
-Wall
headers
=
radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h list.h
headers
=
radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h list.h
objects
=
ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o
objects
=
ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o
...
...
fs/btrfs/ctree.c
View file @
037e6390
...
@@ -995,15 +995,6 @@ static int split_leaf(struct ctree_root *root, struct ctree_path *path,
...
@@ -995,15 +995,6 @@ static int split_leaf(struct ctree_root *root, struct ctree_path *path,
int
ret
;
int
ret
;
int
wret
;
int
wret
;
wret
=
push_leaf_left
(
root
,
path
,
data_size
);
if
(
wret
<
0
)
return
wret
;
if
(
wret
)
{
wret
=
push_leaf_right
(
root
,
path
,
data_size
);
if
(
wret
<
0
)
return
wret
;
}
l_buf
=
path
->
nodes
[
0
];
l_buf
=
path
->
nodes
[
0
];
l
=
&
l_buf
->
leaf
;
l
=
&
l_buf
->
leaf
;
...
...
fs/btrfs/extent-tree.c
View file @
037e6390
This diff is collapsed.
Click to expand it.
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