From: Christoph Hellwig Date: Fri, 5 Dec 2025 15:03:10 +0000 (+0100) Subject: xfs: remove the xfs_efi_log_format_32_t typedef X-Git-Tag: v6.18.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b3953dae903bc40e06f89f78041404e1f5fc91;p=thirdparty%2Fxfsprogs-dev.git xfs: remove the xfs_efi_log_format_32_t typedef Source kernel commit: 68c9f8444ae930343a2c900cb909825bc8f7304a There are almost no users of the typedef left, kill it and switch the remaining users to use the underlying struct. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Carlos Maiolino Reviewed-by: Christoph Hellwig Signed-off-by: Andrey Albershteyn --- diff --git a/libxfs/xfs_log_format.h b/libxfs/xfs_log_format.h index 81c84c8a..75cc8b9b 100644 --- a/libxfs/xfs_log_format.h +++ b/libxfs/xfs_log_format.h @@ -649,13 +649,13 @@ xfs_efi_log_format_sizeof( nr * sizeof(struct xfs_extent); } -typedef struct xfs_efi_log_format_32 { +struct xfs_efi_log_format_32 { uint16_t efi_type; /* efi log item type */ uint16_t efi_size; /* size of this item */ uint32_t efi_nextents; /* # extents to free */ uint64_t efi_id; /* efi identifier */ struct xfs_extent_32 efi_extents[]; /* array of extents to free */ -} __attribute__((packed)) xfs_efi_log_format_32_t; +} __attribute__((packed)); static inline size_t xfs_efi_log_format32_sizeof(