X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libbcachefs%2Fsysfs.c;fp=libbcachefs%2Fsysfs.c;h=e818ca7a1b70e06abd56f4a0b1097d828655968f;hb=b6740e5392a0e0a5fddc5ad4ffac0567078e114a;hp=1b82a3a93d14cb082f546b96c772462ee772a5b4;hpb=4c5dcb018d9675260c056b6afa8508298d0dba75;p=bcachefs-tools-debian diff --git a/libbcachefs/sysfs.c b/libbcachefs/sysfs.c index 1b82a3a..e818ca7 100644 --- a/libbcachefs/sysfs.c +++ b/libbcachefs/sysfs.c @@ -278,8 +278,8 @@ static int bch2_compression_stats_to_text(struct printbuf *out, struct bch_fs *c if (!btree_type_has_ptrs(id)) continue; - ret = for_each_btree_key2(trans, iter, id, POS_MIN, - BTREE_ITER_ALL_SNAPSHOTS, k, ({ + ret = for_each_btree_key(trans, iter, id, POS_MIN, + BTREE_ITER_ALL_SNAPSHOTS, k, ({ struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); struct bch_extent_crc_unpacked crc; const union bch_extent_entry *entry;