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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
Christoph Hellwig 2025-11-12 13:14:20 +01:00 committed by Carlos Maiolino
parent 8e76253443
commit 0274105914
2 changed files with 6 additions and 7 deletions

View File

@ -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.
*

View File

@ -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.
*