Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0373eea authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

xfs: remove the xfs_efd_log_item_t typedef



commit c84e819090f39e96e4d432c9047a50d2424f99e0 upstream.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarChandan Babu R <chandan.babu@oracle.com>
Acked-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94e06399
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,12 +63,12 @@ struct xfs_efi_log_item {
 * the fact that some extents earlier mentioned in an efi item
 * have been freed.
 */
typedef struct xfs_efd_log_item {
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;
} xfs_efd_log_item_t;
};

/*
 * Max number of extents in fast allocation path.
+1 −1
Original line number Diff line number Diff line
@@ -1914,7 +1914,7 @@ xfs_init_zones(void)
	if (!xfs_buf_item_zone)
		goto out_destroy_trans_zone;

	xfs_efd_zone = kmem_zone_init((sizeof(xfs_efd_log_item_t) +
	xfs_efd_zone = kmem_zone_init((sizeof(struct xfs_efd_log_item) +
			((XFS_EFD_MAX_FAST_EXTENTS - 1) *
				 sizeof(xfs_extent_t))), "xfs_efd_item");
	if (!xfs_efd_zone)