diff options
Diffstat (limited to 'drivers/md/bcache/btree.c')
-rw-r--r-- | drivers/md/bcache/btree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index f8237856a61b..776583f7247d 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c | |||
@@ -1409,6 +1409,7 @@ static int btree_gc_coalesce(struct btree *b, struct btree_op *op, | |||
1409 | BUG_ON(btree_bset_first(new_nodes[0])->keys); | 1409 | BUG_ON(btree_bset_first(new_nodes[0])->keys); |
1410 | btree_node_free(new_nodes[0]); | 1410 | btree_node_free(new_nodes[0]); |
1411 | rw_unlock(true, new_nodes[0]); | 1411 | rw_unlock(true, new_nodes[0]); |
1412 | new_nodes[0] = NULL; | ||
1412 | 1413 | ||
1413 | for (i = 0; i < nodes; i++) { | 1414 | for (i = 0; i < nodes; i++) { |
1414 | if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) | 1415 | if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) |