gfs2: Use gfs2_qd_dispose in gfs2_quota_cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 23 Aug 2023 19:38:04 +0000 (21:38 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:16 +0000 (15:58 +0200)
commit961fe3422e055d251b32a117cd8cd3d27153bc96
treec378d81257430aa8c11bc253847333b2aaccf5b9
parent6b0e9a5f1e6d7f2719856b601d5639902fc0ee4f
gfs2: Use gfs2_qd_dispose in gfs2_quota_cleanup

Change gfs2_quota_cleanup() to move the quota data objects to dispose of
on a dispose list and call gfs2_qd_dispose() on that list, like
gfs2_qd_shrink_scan() does, instead of disposing of the quota data
objects directly.

This may look a bit pointless by itself, but it will make more sense in
combination with a fix that follows.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/quota.c