]> www.infradead.org Git - users/dwmw2/linux.git/commit
gfs2: Fold qd_fish into gfs2_quota_sync
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 7 Jun 2024 09:47:47 +0000 (11:47 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 8 Jun 2024 00:35:16 +0000 (02:35 +0200)
commit614abc11870ee7ec5a32c81b7ecf4232ede48ecb
treec9d71955cba1697b7a6cd2367e3713b3c3daa2a7
parentb510af07aaa4d8a7095bc0368020d8bdba5af942
gfs2: Fold qd_fish into gfs2_quota_sync

The split between qd_fish() and gfs2_quota_sync() is rather unfortunate
as qd_fish() is repeatedly called to scan sdp->sd_quota_list only to
find the next object to that needs syncing; if there are multiple
objects on the list that need syncing, it makes more sense to grab them
all in one go.  This is relatively easy to do when qd_fish() is folded
into gfs2_quota_sync().

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