]> www.infradead.org Git - users/dwmw2/linux.git/commit
gfs2: Revert "Add quota_change type"
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 5 Jun 2024 20:13:15 +0000 (22:13 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 8 Jun 2024 00:35:09 +0000 (02:35 +0200)
commitec4b5200c8af9ce021399d3192b3379c089396c3
treed9214948d4688ac8f2f266ae4b808b85e37b6a30
parent4b4b6374dc6134849f2bdca81fa2945b6ed6d9fc
gfs2: Revert "Add quota_change type"

Commit 432928c93779 ("gfs2: Add quota_change type") makes the incorrect
assertion that function do_qc() should behave differently in the two
contexts it is used in, but that isn't actually true.  In all cases,
do_qc() grabs a "reference" when it starts using a slot in the per-node
quota changes file, and it releases that "reference" when no more
residual changes remain.  Revert that broken commit.

There are some remaining issues with function do_qc() which are
addressed in the next commit.

This reverts commit 432928c9377959684c748a9bc6553ed2d3c2ea4f.

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