aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r--drivers/md/bcache/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 89fd5204924e..ae6096c6845d 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -144,7 +144,7 @@ void bch_btree_verify(struct btree *b, struct bset *new)
144 v->written = 0; 144 v->written = 0;
145 v->level = b->level; 145 v->level = b->level;
146 146
147 bch_btree_read(v); 147 bch_btree_node_read(v);
148 closure_wait_event(&v->io.wait, &cl, 148 closure_wait_event(&v->io.wait, &cl,
149 atomic_read(&b->io.cl.remaining) == -1); 149 atomic_read(&b->io.cl.remaining) == -1);
150 150
@@ -512,7 +512,7 @@ static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a,
512 512
513 bch_btree_sort(b); 513 bch_btree_sort(b);
514 fill->written = 0; 514 fill->written = 0;
515 bch_btree_read_done(&fill->io.cl); 515 bch_btree_node_read_done(fill);
516 516
517 if (b->sets[0].data->keys != fill->sets[0].data->keys || 517 if (b->sets[0].data->keys != fill->sets[0].data->keys ||
518 memcmp(b->sets[0].data->start, 518 memcmp(b->sets[0].data->start,