diff options
author | Qu Wenruo <wqu@suse.com> | 2023-09-02 08:13:55 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:03 +0200 |
commit | a0bdc04b073233b2fbd3c3ab039e74c617566d6c (patch) | |
tree | 13b5c58038f15033b3804a5ca554216037f3db67 /fs/btrfs/dev-replace.c | |
parent | 0913445082496c2b29668ee26521401b273838b8 (diff) | |
download | linux-a0bdc04b073233b2fbd3c3ab039e74c617566d6c.tar.gz linux-a0bdc04b073233b2fbd3c3ab039e74c617566d6c.tar.bz2 linux-a0bdc04b073233b2fbd3c3ab039e74c617566d6c.zip |
btrfs: qgroup: use qgroup_iterator in __qgroup_excl_accounting()
With the new qgroup_iterator_add() and qgroup_iterator_clean(), we can
get rid of the ulist and its GFP_ATOMIC memory allocation.
Furthermore we can merge the code handling the initial and parent
qgroups into one loop, and drop the @tmp ulist parameter for involved
call sites.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions