diff options
| author | Qu Wenruo <[email protected]> | 2023-09-02 00:13:57 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-10-12 14:44:03 +0000 |
| commit | dce28769a33a95425b007f00842d6e12ffa28f83 (patch) | |
| tree | 739c58504c0419d6d6a2de2d9374c0416ab1558f /fs/btrfs/dev-replace.c | |
| parent | btrfs: qgroup: use qgroup_iterator to replace tmp ulist in qgroup_update_refc... (diff) | |
| download | kernel-dce28769a33a95425b007f00842d6e12ffa28f83.tar.gz kernel-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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
