[PATCH 10/33] xfs: remove the xfs_efi_log_format_64_t typedef

Andrey Albershteyn
2025-12-03T19:07:44Z

From: Christoph Hellwig <hch@lst.de>

Source kernel commit: 3fe5abc2bf4db88c7c9c99e8a1f5b3d1336d528f

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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
---
libxfs/xfs_log_format.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfs/xfs_log_format.h b/libxfs/xfs_log_format.h
index 75cc8b9be5..358f7cb43b 100644
--- a/libxfs/xfs_log_format.h
+++ b/libxfs/xfs_log_format.h
@@ -665,13 +665,13 @@
nr * sizeof(struct xfs_extent_32);
}

-typedef struct xfs_efi_log_format_64 {
+struct xfs_efi_log_format_64 {
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_64 efi_extents[]; /* array of extents to free */
-} xfs_efi_log_format_64_t;
+};

static inline size_t
xfs_efi_log_format64_sizeof(

--
- Andrey