projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4051aab
)
dm btree: remove unused "dm_block_t root" parameter in btree_split_sibling()
author
Vivek Goyal
<vgoyal@redhat.com>
Mon, 6 Jul 2015 15:55:40 +0000
(11:55 -0400)
committer
Mike Snitzer
<snitzer@redhat.com>
Wed, 12 Aug 2015 15:32:19 +0000
(11:32 -0400)
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-btree.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/persistent-data/dm-btree.c
b/drivers/md/persistent-data/dm-btree.c
index c7726cebc4950c24cb6f6f2b7cacfa6465bddeb6..b6cec258cc2138497b3c8875fc4defdb7523701f 100644
(file)
--- a/
drivers/md/persistent-data/dm-btree.c
+++ b/
drivers/md/persistent-data/dm-btree.c
@@
-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
,
- u
nsigned parent_index, u
int64_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;