+7
−12
+3
−3
Loading
stable inclusion from stable-v6.6.50 commit d9612c66af360d9405d614abcddbaf63ec952fe8 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAYKL6 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d9612c66af360d9405d614abcddbaf63ec952fe8 -------------------------------- [ Upstream commit ec4b5200c8af9ce021399d3192b3379c089396c3 ] Commit 432928c9 ("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 432928c9. Signed-off-by:Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>