summaryrefslogtreecommitdiff
path: root/libbcachefs/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/debug.c')
-rw-r--r--libbcachefs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/debug.c b/libbcachefs/debug.c
index ccfb0386..0f090ca5 100644
--- a/libbcachefs/debug.c
+++ b/libbcachefs/debug.c
@@ -58,7 +58,7 @@ void __bch2_btree_verify(struct bch_fs *c, struct btree *b)
if (IS_ERR_OR_NULL(pick.ca))
return;
- bio = bio_alloc_bioset(GFP_NOIO, btree_pages(c), &c->btree_read_bio);
+ bio = bio_alloc_bioset(GFP_NOIO, btree_pages(c), &c->btree_bio);
bio->bi_bdev = pick.ca->disk_sb.bdev;
bio->bi_opf = REQ_OP_READ|REQ_META;
bio->bi_iter.bi_sector = pick.ptr.offset;