xfs_repair: fix libxfs abstraction mess

Do some xfs -> libxfs callsite conversions to shut up xfs/437.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
diff --git a/libxfs/libxfs_api_defs.h b/libxfs/libxfs_api_defs.h
index dcb5dec..c5fcb5e 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 456076b..206b015 100644
--- a/repair/zoned.c
+++ b/repair/zoned.c
@@ -30,7 +30,7 @@
 	}
 
 	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 @@
 	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