aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-09-02 08:13:57 +0800
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:03 +0200
commitdce28769a33a95425b007f00842d6e12ffa28f83 (patch)
tree739c58504c0419d6d6a2de2d9374c0416ab1558f /fs/btrfs/dev-replace.c
parenta4a81383fbf8c4e17ea6bbc7f005be98f5ece61b (diff)
downloadlinux-dce28769a33a95425b007f00842d6e12ffa28f83.tar.gz
linux-dce28769a33a95425b007f00842d6e12ffa28f83.tar.bz2
linux-dce28769a33a95425b007f00842d6e12ffa28f83.zip
btrfs: qgroup: use qgroup_iterator_nested to in qgroup_update_refcnt()
The ulist @qgroups is utilized to record all involved qgroups from both old and new roots inside btrfs_qgroup_account_extent(). Due to the fact that qgroup_update_refcnt() itself is already utilizing qgroup_iterator, here we have to introduce another list_head, btrfs_qgroup::nested_iterator, allowing nested iteration. 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