On 2025-04-25 08:48:18, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Do some xfs -> libxfs callsite conversions to shut up xfs/437. > > Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> > --- > libxfs/libxfs_api_defs.h | 1 + > repair/zoned.c | 6 +++--- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/libxfs/libxfs_api_defs.h b/libxfs/libxfs_api_defs.h > index dcb5dec0a7abd2..c5fcb5e3229ae4 100644 > --- a/libxfs/libxfs_api_defs.h > +++ b/libxfs/libxfs_api_defs.h > @@ -407,6 +407,7 @@ > #define xfs_verify_rgbno libxfs_verify_rgbno > #define xfs_verify_rtbno libxfs_verify_rtbno > #define xfs_zero_extent libxfs_zero_extent > +#define xfs_zone_validate libxfs_zone_validate > > /* Please keep this list alphabetized. */ > > diff --git a/repair/zoned.c b/repair/zoned.c > index 456076b9817d76..206b0158f95f84 100644 > --- a/repair/zoned.c > +++ b/repair/zoned.c > @@ -30,7 +30,7 @@ report_zones_cb( > } > > rgno = xfs_rtb_to_rgno(mp, zsbno); > - rtg = xfs_rtgroup_grab(mp, rgno); > + rtg = libxfs_rtgroup_grab(mp, rgno); > if (!rtg) { > do_error(_("realtime group not found for zone %u."), rgno); > return; > @@ -39,8 +39,8 @@ report_zones_cb( > if (!rtg_rmap(rtg)) > do_warn(_("no rmap inode for zone %u."), rgno); > else > - xfs_zone_validate(zone, rtg, &write_pointer); > - xfs_rtgroup_rele(rtg); > + libxfs_zone_validate(zone, rtg, &write_pointer); > + libxfs_rtgroup_rele(rtg); > } > > void > LGTM Reviewed-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx> -- - Andrey