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

xfs: move struct xfs_log_iovec to xfs_log_priv.h



This structure is now only used by the core logging and CIL code.

Also remove the unused typedef.

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 8e762534
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -184,13 +184,6 @@ struct xlog_rec_header {
#define XLOG_REC_SIZE_OTHER	offsetofend(struct xlog_rec_header, h_size)
#endif /* __i386__ */

/* not an on-disk structure, but needed by log recovery in userspace */
struct xfs_log_iovec {
	void		*i_addr;	/* beginning address of region */
	int		i_len;		/* length in bytes of region */
	uint		i_type;		/* type of region */
};

/*
 * Transaction Header definitions.
 *
+6 −0
Original line number Diff line number Diff line
@@ -13,6 +13,12 @@ struct xlog;
struct xlog_ticket;
struct xfs_mount;

struct xfs_log_iovec {
	void			*i_addr;/* beginning address of region */
	int			i_len;	/* length in bytes of region */
	uint			i_type;	/* type of region */
};

/*
 * get client id from packed copy.
 *