aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-09-15 06:26:56 -0700
committerCarlos Maiolino <cem@kernel.org>2025-09-16 12:25:05 +0200
commit655d9ec7bd9e38735ae36dbc635a9161a046f7b9 (patch)
tree787c505cc21bce3a6e900953e3c71d0475d11d48 /fs/xfs
parentxfs: remove the xfs_extent64_t typedef (diff)
downloadlinux-655d9ec7bd9e38735ae36dbc635a9161a046f7b9.tar.gz
linux-655d9ec7bd9e38735ae36dbc635a9161a046f7b9.zip
xfs: remove the xfs_efi_log_format_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.h4
-rw-r--r--fs/xfs/xfs_extfree_item.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_log_format.h b/fs/xfs/libxfs/xfs_log_format.h
index 2b270912e538..81c84c8a66fd 100644
--- a/fs/xfs/libxfs/xfs_log_format.h
+++ b/fs/xfs/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(
diff --git a/fs/xfs/xfs_extfree_item.h b/fs/xfs/xfs_extfree_item.h
index c8402040410b..e56376853f2d 100644
--- a/fs/xfs/xfs_extfree_item.h
+++ b/fs/xfs/xfs_extfree_item.h
@@ -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