summaryrefslogtreecommitdiff
path: root/libbcachefs/quota.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-20 18:09:44 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-07-20 18:09:44 -0400
commit44fc32e7ef89d794854409d98d3d1c3fe8fb3580 (patch)
tree8dd30cbe9ab6ea2178ed6d847176bef3acdcad1c /libbcachefs/quota.c
parenta7b0ba44f04edfddb4db77e962094c061aa4be45 (diff)
Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in startup path
Diffstat (limited to 'libbcachefs/quota.c')
-rw-r--r--libbcachefs/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/quota.c b/libbcachefs/quota.c
index d90db3fb..4f0654ff 100644
--- a/libbcachefs/quota.c
+++ b/libbcachefs/quota.c
@@ -562,7 +562,7 @@ static int bch2_fs_quota_read_inode(struct btree_trans *trans,
int ret;
ret = bch2_snapshot_tree_lookup(trans,
- snapshot_t(c, k.k->p.snapshot)->tree, &s_t);
+ bch2_snapshot_tree(c, k.k->p.snapshot), &s_t);
bch2_fs_inconsistent_on(bch2_err_matches(ret, ENOENT), c,
"%s: snapshot tree %u not found", __func__,
snapshot_t(c, k.k->p.snapshot)->tree);