]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs2: move quota_init qc iterator increment
authorJie Wang <jie.wang@intel.com>
Tue, 21 Apr 2026 16:32:07 +0000 (16:32 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 23 Apr 2026 07:18:48 +0000 (09:18 +0200)
commit942202677f8f2ee448a6a2feb06aeeaf520342e3
tree55dd74b3977eb3b6a07e1461f625e0400cbb6e21
parentb99a1f0f18ee50445907f55069e88bcfd8947383
gfs2: move quota_init qc iterator increment

Move qc++ from the loop body into the for-loop increment
expression in gfs2_quota_init().

This keeps iterator progression explicit and avoids mixing pointer
advance with duplicate-slot handling in the loop body.

Signed-off-by: Jie Wang <jie.wang@intel.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/quota.c