diff options
author | Christoph Hellwig <hch@lst.de> | 2025-09-15 06:26:55 -0700 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-09-16 12:25:05 +0200 |
commit | 72628b6f459ea4fed3003db8161b52ee746442d0 (patch) | |
tree | b998110f2179bc7088de64c126a6660361913122 /fs/xfs | |
parent | 7eaf684bc48923b5584fc119e8c477be2cdb3eb2 (diff) |
xfs: remove the xfs_extent64_t typedef
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_log_format.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_log_format.h b/fs/xfs/libxfs/xfs_log_format.h index f11ba20a164e..2b270912e538 100644 --- a/fs/xfs/libxfs/xfs_log_format.h +++ b/fs/xfs/libxfs/xfs_log_format.h @@ -622,11 +622,11 @@ struct xfs_extent_32 { uint32_t ext_len; } __attribute__((packed)); -typedef struct xfs_extent_64 { +struct xfs_extent_64 { uint64_t ext_start; uint32_t ext_len; uint32_t ext_pad; -} xfs_extent_64_t; +}; /* * This is the structure used to lay out an efi log item in the @@ -670,7 +670,7 @@ typedef struct xfs_efi_log_format_64 { uint16_t efi_size; /* size of this item */ uint32_t efi_nextents; /* # extents to free */ uint64_t efi_id; /* efi identifier */ - xfs_extent_64_t efi_extents[]; /* array of extents to free */ + struct xfs_extent_64 efi_extents[]; /* array of extents to free */ } xfs_efi_log_format_64_t; static inline size_t @@ -723,7 +723,7 @@ typedef struct xfs_efd_log_format_64 { uint16_t efd_size; /* size of this item */ uint32_t efd_nextents; /* # of extents freed */ uint64_t efd_efi_id; /* id of corresponding efi */ - xfs_extent_64_t efd_extents[]; /* array of extents freed */ + struct xfs_extent_64 efd_extents[]; /* array of extents freed */ } xfs_efd_log_format_64_t; static inline size_t |