From: Christoph Hellwig Date: Tue, 31 Mar 2026 15:27:26 +0000 (+0200) Subject: xfs: rename xfs_zone_gc_iter_next to xfs_zone_gc_iter_irec X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca0170a7fa41fa4ef5e31b0baf2225d84a385bfc;p=thirdparty%2Fkernel%2Flinux.git xfs: rename xfs_zone_gc_iter_next to xfs_zone_gc_iter_irec This function returns the current iterator position, which makes the _next postfix a bit misleading. Signed-off-by: Christoph Hellwig Reviewed-by: Hans Holmberg Reviewed-by: Damien Le Moal Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- diff --git a/fs/xfs/xfs_zone_gc.c b/fs/xfs/xfs_zone_gc.c index 0c1e22409ef1..cd4f52af295e 100644 --- a/fs/xfs/xfs_zone_gc.c +++ b/fs/xfs/xfs_zone_gc.c @@ -374,7 +374,7 @@ done: } static bool -xfs_zone_gc_iter_next( +xfs_zone_gc_iter_irec( struct xfs_mount *mp, struct xfs_zone_gc_iter *iter, struct xfs_rmap_irec *chunk_rec, @@ -691,7 +691,7 @@ xfs_zone_gc_start_chunk( if (xfs_is_shutdown(mp)) return false; - if (!xfs_zone_gc_iter_next(mp, iter, &irec, &ip)) + if (!xfs_zone_gc_iter_irec(mp, iter, &irec, &ip)) return false; oz = xfs_zone_gc_alloc_blocks(data, &irec.rm_blockcount, &daddr, &is_seq);