diff mbox series

[v2,11/29] xfsprogs: Stop using platform_uuid_is_null()

Message ID 20210806212318.440144-12-preichl@redhat.com (mailing list archive)
State Deferred, archived
Headers show
Series xfsprogs: Drop the 'platform_' prefix | expand

Commit Message

Pavel Reichl Aug. 6, 2021, 9:23 p.m. UTC
---
 libxlog/util.c  | 2 +-
 mkfs/xfs_mkfs.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libxlog/util.c b/libxlog/util.c
index 7c10474b..84c6f99a 100644
--- a/libxlog/util.c
+++ b/libxlog/util.c
@@ -130,7 +130,7 @@  xlog_header_check_recover(xfs_mount_t *mp, xlog_rec_header_t *head)
 int
 xlog_header_check_mount(xfs_mount_t *mp, xlog_rec_header_t *head)
 {
-    if (platform_uuid_is_null(&head->h_fs_uuid)) return 0;
+    if (uuid_is_null(head->h_fs_uuid)) return 0;
     if (header_check_uuid(mp, head)) {
 	/* bail out now or just carry on regardless */
 	if (print_exit)
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index 2771a641..c6929a83 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -2191,7 +2191,7 @@  _("cowextsize not supported without reflink support\n"));
 	 * Copy features across to config structure now.
 	 */
 	cfg->sb_feat = cli->sb_feat;
-	if (!platform_uuid_is_null(&cli->uuid))
+	if (!uuid_is_null(cli->uuid))
 		uuid_copy(cfg->uuid, cli->uuid);
 }