diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-05-24 11:57:29 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-05-24 11:58:42 -0400 |
commit | 7e3538959966b80be3d4cfcb7076c8ab40a4be11 (patch) | |
tree | e2fd15c236465eed0d595dafc06c7d4a208f7c7a /libbcachefs/quota.c | |
parent | 93bdfcb2105afe7a45d512984b855ce97937cfc1 (diff) |
Update bcachefs sources to f38382c574 bcachefs: Improve key marking interface
Diffstat (limited to 'libbcachefs/quota.c')
-rw-r--r-- | libbcachefs/quota.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/quota.c b/libbcachefs/quota.c index 2b0edb68..8a42660c 100644 --- a/libbcachefs/quota.c +++ b/libbcachefs/quota.c @@ -360,7 +360,7 @@ static int bch2_quota_init_type(struct bch_fs *c, enum quota_types type) struct bkey_s_c k; int ret = 0; - bch2_trans_init(&trans, c); + bch2_trans_init(&trans, c, 0, 0); for_each_btree_key(&trans, iter, BTREE_ID_QUOTAS, POS(type, 0), BTREE_ITER_PREFETCH, k, ret) { @@ -432,7 +432,7 @@ int bch2_fs_quota_read(struct bch_fs *c) return ret; } - bch2_trans_init(&trans, c); + bch2_trans_init(&trans, c, 0, 0); for_each_btree_key(&trans, iter, BTREE_ID_INODES, POS_MIN, BTREE_ITER_PREFETCH, k, ret) { @@ -725,7 +725,7 @@ static int bch2_set_quota(struct super_block *sb, struct kqid qid, bkey_quota_init(&new_quota.k_i); new_quota.k.p = POS(qid.type, from_kqid(&init_user_ns, qid)); - bch2_trans_init(&trans, c); + bch2_trans_init(&trans, c, 0, 0); iter = bch2_trans_get_iter(&trans, BTREE_ID_QUOTAS, new_quota.k.p, BTREE_ITER_SLOTS|BTREE_ITER_INTENT); |