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

Pavel Reichl
2021-08-06T21:23:40Z

---
libxlog/util.c | 2 +-
mkfs/xfs_mkfs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

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);
}

--
2.31.1