Skip to content

Commit f1f0460

Browse files
josefbacikkdave
authored andcommitted
btrfs: restore BTRFS_SEQ_LAST when looking up qgroup backref lookup
In the patch a2c8d27 ("btrfs: use a structure to pass arguments to backref walking functions") Filipe converted everybody to using a new context struct to use for backref lookups, but accidentally dropped the BTRFS_SEQ_LAST usage that exists for qgroups. Add this back so we have the previous behavior. Fixes: a2c8d27 ("btrfs: use a structure to pass arguments to backref walking functions") Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent c68f729 commit f1f0460

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/btrfs/qgroup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,6 +2787,7 @@ int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans)
27872787
* current root. It's safe inside commit_transaction().
27882788
*/
27892789
ctx.trans = trans;
2790+
ctx.time_seq = BTRFS_SEQ_LAST;
27902791
ret = btrfs_find_all_roots(&ctx, false);
27912792
if (ret < 0)
27922793
goto cleanup;

0 commit comments

Comments
 (0)