diff options
author | David Sterba <dsterba@suse.com> | 2017-02-10 18:49:53 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:51 +0100 |
commit | 4961e2930f0324dedd47f09108cd4c81c0ee4010 (patch) | |
tree | ce3bf381844ed5a40de55472f08242eb3d990955 /fs/btrfs/ctree.c | |
parent | 7c302b49dd757b03d12bec772e1d1f462684c991 (diff) | |
download | linux-stable-4961e2930f0324dedd47f09108cd4c81c0ee4010.tar.gz linux-stable-4961e2930f0324dedd47f09108cd4c81c0ee4010.tar.bz2 linux-stable-4961e2930f0324dedd47f09108cd4c81c0ee4010.zip |
btrfs: remove unused parameter from split_item
Never used.
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index d509dafdb20c..4c5d7c40c8bf 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -4413,8 +4413,7 @@ err: return ret; } -static noinline int split_item(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, +static noinline int split_item(struct btrfs_fs_info *fs_info, struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) @@ -4511,7 +4510,7 @@ int btrfs_split_item(struct btrfs_trans_handle *trans, if (ret) return ret; - ret = split_item(trans, root->fs_info, path, new_key, split_offset); + ret = split_item(root->fs_info, path, new_key, split_offset); return ret; } |