Commit 0a33d5ad authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Carlos Maiolino
Browse files

xfs: remove the xfs_efd_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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
parent 3fe5abc2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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(
+1 −1
Original line number Diff line number Diff line
@@ -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