]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
xfs: remove the xfs_efi_log_format_t typedef
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Sep 2025 13:26:56 +0000 (06:26 -0700)
committerCarlos Maiolino <cem@kernel.org>
Tue, 16 Sep 2025 10:25:05 +0000 (12:25 +0200)
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>
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_extfree_item.h

index 2b270912e5384c9a4ed672a2c27f4498dfff9ba8..81c84c8a66fd7ac49dd208f5270f5105514ba943 100644 (file)
@@ -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(
index c8402040410b5489e4df0ff6ff5b736634ebb4af..e56376853f2d2578b20080f133dbe866bbf109e7 100644 (file)
@@ -49,7 +49,7 @@ struct xfs_efi_log_item {
        struct xfs_log_item     efi_item;
        atomic_t                efi_refcount;
        atomic_t                efi_next_extent;
-       xfs_efi_log_format_t    efi_format;
+       struct xfs_efi_log_format efi_format;
 };
 
 static inline size_t