summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 14:44:57 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:50 +0200
commit25263cd7cec1b41b55bf7991d09a019ca1ff1359 (patch)
tree45f78dd851a2374e74a88c8b6a367f39113534c8 /fs/btrfs/ctree.c
parentc4140cbf35b90422be6589024f47e132eb2298b1 (diff)
downloadlinux-25263cd7cec1b41b55bf7991d09a019ca1ff1359.tar.bz2
btrfs: remove unused parameter fs_info from split_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index e26131d14cc4..928d4d8c542b 100644
--- 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;
}