mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
dm btree: remove unused "dm_block_t root" parameter in btree_split_sibling()
Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
4051aab762
commit
0a8d4c3ef8
1 changed files with 3 additions and 3 deletions
|
@ -420,8 +420,8 @@ EXPORT_SYMBOL_GPL(dm_btree_lookup);
|
|||
*
|
||||
* Where A* is a shadow of A.
|
||||
*/
|
||||
static int btree_split_sibling(struct shadow_spine *s, dm_block_t root,
|
||||
unsigned parent_index, uint64_t key)
|
||||
static int btree_split_sibling(struct shadow_spine *s, unsigned parent_index,
|
||||
uint64_t key)
|
||||
{
|
||||
int r;
|
||||
size_t size;
|
||||
|
@ -625,7 +625,7 @@ static int btree_insert_raw(struct shadow_spine *s, dm_block_t root,
|
|||
if (top)
|
||||
r = btree_split_beneath(s, key);
|
||||
else
|
||||
r = btree_split_sibling(s, root, i, key);
|
||||
r = btree_split_sibling(s, i, key);
|
||||
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue