]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs: convert xfs_efi_log_format_32_t typedef to struct
authorAndrey Albershteyn <aalbersh@redhat.com>
Fri, 5 Dec 2025 15:02:27 +0000 (16:02 +0100)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 8 Dec 2025 17:03:15 +0000 (18:03 +0100)
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
logprint/log_redo.c

index b957056c87a03b60e3885d478c830e44bf2321b1..cabf5ad470fcc08b3aa65ef214cdc8e9decd60ef 100644 (file)
@@ -28,7 +28,8 @@ xfs_efi_copy_format(
                memcpy((char *)dst_efi_fmt, buf, len);
                return 0;
        } else if (len == len32) {
-               xfs_efi_log_format_32_t *src_efi_fmt_32 = (xfs_efi_log_format_32_t *)buf;
+               struct xfs_efi_log_format_32 *src_efi_fmt_32 =
+                       (struct xfs_efi_log_format_32 *)buf;
 
                dst_efi_fmt->efi_type    = src_efi_fmt_32->efi_type;
                dst_efi_fmt->efi_size    = src_efi_fmt_32->efi_size;