diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-10 16:12:15 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-11 12:00:51 -0400 |
commit | f96ba8e0aac91f2650270e9639359243cb9ac2d1 (patch) | |
tree | caad4c77122cd24f45a6deb1405faad88cb1b8d8 /libbcachefs/debug.c | |
parent | 07a0a5b5c42e7429c2bb3b7feead23274454eb57 (diff) |
Update bcachefs sources to b91a514413 bcachefs: Don't try to delete stripes when RO
Diffstat (limited to 'libbcachefs/debug.c')
-rw-r--r-- | libbcachefs/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/debug.c b/libbcachefs/debug.c index 47b8dd74..69b123ba 100644 --- a/libbcachefs/debug.c +++ b/libbcachefs/debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Assorted bcachefs debug code * @@ -69,8 +70,7 @@ void __bch2_btree_verify(struct bch_fs *c, struct btree *b) bio_set_dev(bio, ca->disk_sb.bdev); bio->bi_opf = REQ_OP_READ|REQ_META; bio->bi_iter.bi_sector = pick.ptr.offset; - bio->bi_iter.bi_size = btree_bytes(c); - bch2_bio_map(bio, n_sorted); + bch2_bio_map(bio, n_sorted, btree_bytes(c)); submit_bio_wait(bio); |