bcache: Add explicit keylist arg to btree_insert()

Some refactoring - better to explicitly pass stuff around instead of
having it all in the "big bag of state", struct btree_op. Going to prune
struct btree_op quite a bit over time.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
此提交包含在:
Kent Overstreet
2013-09-10 18:46:36 -07:00
父節點 e7c590eb63
當前提交 4f3d40147b
共有 5 個檔案被更改,包括 18 行新增16 行删除

查看文件

@@ -320,7 +320,7 @@ int bch_journal_replay(struct cache_set *s, struct list_head *list,
op->journal = i->pin;
atomic_inc(op->journal);
ret = bch_btree_insert(op, s);
ret = bch_btree_insert(op, s, &op->keys);
if (ret)
goto err;