summaryrefslogtreecommitdiff
path: root/libbcachefs/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-01-11 06:41:59 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-01-11 07:02:08 -0500
commit4de98a2712764bceb9e0f67b1ac2f2c7862feb77 (patch)
tree94861af51e19af917d80952dfabeaa7a76901eaa /libbcachefs/debug.c
parentf8cbede6d18e81c804e62fd7d576310b420dcaac (diff)
Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazily
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;