From: Christoph Hellwig Date: Fri, 5 Dec 2025 15:03:06 +0000 (+0100) Subject: xfs: remove the xfs_efi_log_format_t typedef X-Git-Tag: v6.18.0~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9d5f25fd58ead8d075fdf5f505ce40b2720f8684;p=xfsprogs-dev.git xfs: remove the xfs_efi_log_format_t typedef Source kernel commit: 655d9ec7bd9e38735ae36dbc635a9161a046f7b9 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 2b270912..81c84c8a 100644 --- a/libxfs/xfs_log_format.h +++ b/libxfs/xfs_log_format.h @@ -633,13 +633,13 @@ struct xfs_extent_64 { * log. The efi_extents field is a variable size array whose * size is given by efi_nextents. */ -typedef struct xfs_efi_log_format { +struct xfs_efi_log_format { 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 efi_extents[]; /* array of extents to free */ -} xfs_efi_log_format_t; +}; static inline size_t xfs_efi_log_format_sizeof(