Commit 25263cd7 authored by David Sterba's avatar David Sterba

btrfs: remove unused parameter fs_info from split_item

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c4140cbf
...@@ -4399,8 +4399,7 @@ static noinline int setup_leaf_for_split(struct btrfs_trans_handle *trans, ...@@ -4399,8 +4399,7 @@ static noinline int setup_leaf_for_split(struct btrfs_trans_handle *trans,
return ret; return ret;
} }
static noinline int split_item(struct btrfs_fs_info *fs_info, static noinline int split_item(struct btrfs_path *path,
struct btrfs_path *path,
const struct btrfs_key *new_key, const struct btrfs_key *new_key,
unsigned long split_offset) unsigned long split_offset)
{ {
...@@ -4496,7 +4495,7 @@ int btrfs_split_item(struct btrfs_trans_handle *trans, ...@@ -4496,7 +4495,7 @@ int btrfs_split_item(struct btrfs_trans_handle *trans,
if (ret) if (ret)
return ret; return ret;
ret = split_item(root->fs_info, path, new_key, split_offset); ret = split_item(path, new_key, split_offset);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment