]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: restore BTRFS_SEQ_LAST when looking up qgroup backref lookup
authorJosef Bacik <josef@toxicpanda.com>
Tue, 13 Dec 2022 21:57:44 +0000 (16:57 -0500)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 Dec 2022 18:16:57 +0000 (19:16 +0100)
commitf1f0460c0ca97a4a6570f211c81579294a6cc7be
treed2b835f7a1d8fcdfa78636bf04c3d12e246822a6
parentc68f72900a12a56c5e9890e6f2ca5119234c9a75
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>
fs/btrfs/qgroup.c