mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 13:47:56 +07:00
btrfs: remove unused parameter fs_info from split_item
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
c4140cbf35
commit
25263cd7ce
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user