]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
xfs: remove the xfs_efd_log_format_t typedef
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Sep 2025 13:26:59 +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 358f7cb43be26d76325e3d5a1e7eeb83c2c1369d..cb63bb156db14c9b7a4ad2ec8333202db4601a03 100644 (file)
@@ -686,13 +686,13 @@ xfs_efi_log_format64_sizeof(
  * log.  The efd_extents array is a variable size array whose
  * size is given by efd_nextents;
  */
-typedef struct xfs_efd_log_format {
+struct xfs_efd_log_format {
        uint16_t                efd_type;       /* efd log item type */
        uint16_t                efd_size;       /* size of this item */
        uint32_t                efd_nextents;   /* # of extents freed */
        uint64_t                efd_efi_id;     /* id of corresponding efi */
        struct xfs_extent       efd_extents[];  /* array of extents freed */
-} xfs_efd_log_format_t;
+};
 
 static inline size_t
 xfs_efd_log_format_sizeof(
index e56376853f2d2578b20080f133dbe866bbf109e7..af1b0331f7afa418f4a67b377f8dce9a7fa20c1b 100644 (file)
@@ -69,7 +69,7 @@ struct xfs_efd_log_item {
        struct xfs_log_item     efd_item;
        struct xfs_efi_log_item *efd_efip;
        uint                    efd_next_extent;
-       xfs_efd_log_format_t    efd_format;
+       struct xfs_efd_log_format efd_format;
 };
 
 static inline size_t