aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2023-09-02 00:13:57 +0000
committerDavid Sterba <[email protected]>2023-10-12 14:44:03 +0000
commitdce28769a33a95425b007f00842d6e12ffa28f83 (patch)
tree739c58504c0419d6d6a2de2d9374c0416ab1558f /fs/btrfs/dev-replace.c
parentbtrfs: qgroup: use qgroup_iterator to replace tmp ulist in qgroup_update_refc... (diff)
downloadkernel-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