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
179d1e6a
Commit
179d1e6a
authored
5 years ago
by
David Sterba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: remove unused parameter fs_info from from tree_advance
Signed-off-by:
David Sterba
<
dsterba@suse.com
>
parent
c7da9597
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+3
-4
No files found.
fs/btrfs/ctree.c
View file @
179d1e6a
...
...
@@ -5269,8 +5269,7 @@ static int tree_move_next_or_upnext(struct btrfs_path *path,
* Returns 1 if it had to move up and next. 0 is returned if it moved only next
* or down.
*/
static
int
tree_advance
(
struct
btrfs_fs_info
*
fs_info
,
struct
btrfs_path
*
path
,
static
int
tree_advance
(
struct
btrfs_path
*
path
,
int
*
level
,
int
root_level
,
int
allow_down
,
struct
btrfs_key
*
key
)
...
...
@@ -5457,7 +5456,7 @@ int btrfs_compare_trees(struct btrfs_root *left_root,
while
(
1
)
{
if
(
advance_left
&&
!
left_end_reached
)
{
ret
=
tree_advance
(
fs_info
,
left_path
,
&
left_level
,
ret
=
tree_advance
(
left_path
,
&
left_level
,
left_root_level
,
advance_left
!=
ADVANCE_ONLY_NEXT
,
&
left_key
);
...
...
@@ -5468,7 +5467,7 @@ int btrfs_compare_trees(struct btrfs_root *left_root,
advance_left
=
0
;
}
if
(
advance_right
&&
!
right_end_reached
)
{
ret
=
tree_advance
(
fs_info
,
right_path
,
&
right_level
,
ret
=
tree_advance
(
right_path
,
&
right_level
,
right_root_level
,
advance_right
!=
ADVANCE_ONLY_NEXT
,
&
right_key
);
...
...
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