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
25263cd7
Commit
25263cd7
authored
Mar 20, 2019
by
David Sterba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: remove unused parameter fs_info from split_item
Signed-off-by:
David Sterba
<
dsterba@suse.com
>
parent
c4140cbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+2
-3
No files found.
fs/btrfs/ctree.c
View file @
25263cd7
...
...
@@ -4399,8 +4399,7 @@ static noinline int setup_leaf_for_split(struct btrfs_trans_handle *trans,
return
ret
;
}
static
noinline
int
split_item
(
struct
btrfs_fs_info
*
fs_info
,
struct
btrfs_path
*
path
,
static
noinline
int
split_item
(
struct
btrfs_path
*
path
,
const
struct
btrfs_key
*
new_key
,
unsigned
long
split_offset
)
{
...
...
@@ -4496,7 +4495,7 @@ int btrfs_split_item(struct btrfs_trans_handle *trans,
if
(
ret
)
return
ret
;
ret
=
split_item
(
root
->
fs_info
,
path
,
new_key
,
split_offset
);
ret
=
split_item
(
path
,
new_key
,
split_offset
);
return
ret
;
}
...
...
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