summaryrefslogtreecommitdiff
path: root/libbcachefs/quota.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-04-17 17:01:40 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2019-04-17 19:00:38 -0400
commitb485aae1bac95e3b5be235116e2bc43da85906c5 (patch)
tree844734692f40b3e18bf35fbc9e3c3eb4a5610729 /libbcachefs/quota.c
parentf652fdc9622ee513469f046bceea81ada7fa5b02 (diff)
Update bcachefs sources to 6f603b8d79 bcachefs: some improvements to startup messages and options
Diffstat (limited to 'libbcachefs/quota.c')
-rw-r--r--libbcachefs/quota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/quota.c b/libbcachefs/quota.c
index 5e7df0bb..2b0edb68 100644
--- a/libbcachefs/quota.c
+++ b/libbcachefs/quota.c
@@ -363,7 +363,7 @@ static int bch2_quota_init_type(struct bch_fs *c, enum quota_types type)
bch2_trans_init(&trans, c);
for_each_btree_key(&trans, iter, BTREE_ID_QUOTAS, POS(type, 0),
- BTREE_ITER_PREFETCH, k) {
+ BTREE_ITER_PREFETCH, k, ret) {
if (k.k->p.inode != type)
break;
@@ -435,7 +435,7 @@ int bch2_fs_quota_read(struct bch_fs *c)
bch2_trans_init(&trans, c);
for_each_btree_key(&trans, iter, BTREE_ID_INODES, POS_MIN,
- BTREE_ITER_PREFETCH, k) {
+ BTREE_ITER_PREFETCH, k, ret) {
switch (k.k->type) {
case KEY_TYPE_inode:
ret = bch2_inode_unpack(bkey_s_c_to_inode(k), &u);