diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-12-13 16:57:44 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-15 19:16:57 +0100 |
commit | f1f0460c0ca97a4a6570f211c81579294a6cc7be (patch) | |
tree | d2b835f7a1d8fcdfa78636bf04c3d12e246822a6 /fs/btrfs/qgroup.c | |
parent | c68f72900a12a56c5e9890e6f2ca5119234c9a75 (diff) | |
download | lwn-f1f0460c0ca97a4a6570f211c81579294a6cc7be.tar.gz lwn-f1f0460c0ca97a4a6570f211c81579294a6cc7be.zip |
btrfs: restore BTRFS_SEQ_LAST when looking up qgroup backref lookup
In the patch a2c8d27e5ee8 ("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: a2c8d27e5ee8 ("btrfs: use a structure to pass arguments to backref walking functions")
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r-- | fs/btrfs/qgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 5c636e00d77d..d275bf24b250 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -2787,6 +2787,7 @@ int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans) * current root. It's safe inside commit_transaction(). */ ctx.trans = trans; + ctx.time_seq = BTRFS_SEQ_LAST; ret = btrfs_find_all_roots(&ctx, false); if (ret < 0) goto cleanup; |