gfs2: Factor out duplicate quota data disposal code
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 22 Aug 2023 12:18:21 +0000 (14:18 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:16 +0000 (15:58 +0200)
commitfaada74a90563183cb57af3e4604ed183d71a81c
tree115628294757260b64d570ceb905b73a0a86e977
parent961fe3422e055d251b32a117cd8cd3d27153bc96
gfs2: Factor out duplicate quota data disposal code

Rename gfs2_qd_dispose() to gfs2_qd_dispose_list().  Move some code
duplicated in gfs2_qd_dispose_list() and gfs2_quota_cleanup() into a
new gfs2_qd_dispose() function.

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