projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4140cb
)
btrfs: remove unused parameter fs_info from split_item
author
David Sterba
<dsterba@suse.com>
Wed, 20 Mar 2019 13:44:57 +0000
(14:44 +0100)
committer
David Sterba
<dsterba@suse.com>
Mon, 29 Apr 2019 17:02:50 +0000
(19:02 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.c
b/fs/btrfs/ctree.c
index e26131d14cc4ac08edfb931560595151babf104d..928d4d8c542b1c18f986960a683802364228feb8 100644
(file)
--- a/
fs/btrfs/ctree.c
+++ b/
fs/btrfs/ctree.c
@@
-4399,8
+4399,7
@@
err:
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;
}