Skip to content

Commit ca0170a

Browse files
Christoph Hellwigcmaiolino
authored andcommitted
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 <hch@lst.de> Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent a99ed5d commit ca0170a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/xfs/xfs_zone_gc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ xfs_zone_gc_query(
374374
}
375375

376376
static bool
377-
xfs_zone_gc_iter_next(
377+
xfs_zone_gc_iter_irec(
378378
struct xfs_mount *mp,
379379
struct xfs_zone_gc_iter *iter,
380380
struct xfs_rmap_irec *chunk_rec,
@@ -691,7 +691,7 @@ xfs_zone_gc_start_chunk(
691691
if (xfs_is_shutdown(mp))
692692
return false;
693693

694-
if (!xfs_zone_gc_iter_next(mp, iter, &irec, &ip))
694+
if (!xfs_zone_gc_iter_irec(mp, iter, &irec, &ip))
695695
return false;
696696
oz = xfs_zone_gc_alloc_blocks(data, &irec.rm_blockcount, &daddr,
697697
&is_seq);

0 commit comments

Comments
 (0)