diff options
Diffstat (limited to 'fs/bcachefs/quota.c')
-rw-r--r-- | fs/bcachefs/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/quota.c b/fs/bcachefs/quota.c index d90db3fb823e..4f0654ff816f 100644 --- a/fs/bcachefs/quota.c +++ b/fs/bcachefs/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); |