aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/request.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-09-10 18:46:36 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:55:59 -0800
commit4f3d40147b8d0ce7055e241e1d263e0aa2b2b46d (patch)
treeb49db9c82d6301c01734fa40c42ab470cdde0414 /drivers/md/bcache/request.c
parentbcache: Convert btree_insert_check_key() to btree_insert_node() (diff)
downloadlinux-dev-4f3d40147b8d0ce7055e241e1d263e0aa2b2b46d.tar.xz
linux-dev-4f3d40147b8d0ce7055e241e1d263e0aa2b2b46d.zip
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>
Diffstat (limited to 'drivers/md/bcache/request.c')
-rw-r--r--drivers/md/bcache/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c
index 9ed334ca484d..7fd84ce9e835 100644
--- a/drivers/md/bcache/request.c
+++ b/drivers/md/bcache/request.c
@@ -607,7 +607,7 @@ void bch_btree_insert_async(struct closure *cl)
struct btree_op *op = container_of(cl, struct btree_op, cl);
struct search *s = container_of(op, struct search, op);
- if (bch_btree_insert(op, op->c)) {
+ if (bch_btree_insert(op, op->c, &op->keys)) {
s->error = -ENOMEM;
op->insert_data_done = true;
}