summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/journal.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-09-10 18:52:54 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:56:29 -0800
commit1b207d80d5b986fb305bc899357435d319319513 (patch)
treebf75b0befff3f48606832df0a64ced1c3c3ae91d /drivers/md/bcache/journal.c
parentfaadf0c96547ec8277ad0abd6959f2ef48522f31 (diff)
bcache: Kill op->replace
This is prep work for converting bch_btree_insert to bch_btree_map_leaf_nodes() - we have to convert all its arguments to actual arguments. Bunch of churn, but should be straightforward. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r--drivers/md/bcache/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
index 20e900ad5010..592adf51128f 100644
--- a/drivers/md/bcache/journal.c
+++ b/drivers/md/bcache/journal.c
@@ -322,7 +322,7 @@ int bch_journal_replay(struct cache_set *s, struct list_head *list)
bkey_copy(keylist.top, k);
bch_keylist_push(&keylist);
- ret = bch_btree_insert(&op, s, &keylist, i->pin);
+ ret = bch_btree_insert(&op, s, &keylist, i->pin, NULL);
if (ret)
goto err;