]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/quota.c
Update bcachefs sources to 841a95c29f4c bcachefs: fix userspace build errors
[bcachefs-tools-debian] / libbcachefs / quota.c
index a54647c36b8501b7099c81fd5c4e9a6cba410787..79724a7aaab094184d1fe1cd1fe74b58c3f86635 100644 (file)
@@ -617,11 +617,11 @@ int bch2_fs_quota_read(struct bch_fs *c)
 
        trans = bch2_trans_get(c);
 
-       ret = for_each_btree_key2(trans, iter, BTREE_ID_quotas,
-                       POS_MIN, BTREE_ITER_PREFETCH, k,
+       ret = for_each_btree_key(trans, iter, BTREE_ID_quotas, POS_MIN,
+                                BTREE_ITER_PREFETCH, k,
                __bch2_quota_set(c, k, NULL)) ?:
-             for_each_btree_key2(trans, iter, BTREE_ID_inodes,
-                       POS_MIN, BTREE_ITER_PREFETCH|BTREE_ITER_ALL_SNAPSHOTS, k,
+             for_each_btree_key(trans, iter, BTREE_ID_inodes, POS_MIN,
+                                BTREE_ITER_PREFETCH|BTREE_ITER_ALL_SNAPSHOTS, k,
                bch2_fs_quota_read_inode(trans, &iter, k));
 
        bch2_trans_put(trans);