]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: move struct xfs_log_iovec to xfs_log_priv.h
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2025 12:14:20 +0000 (13:14 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
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>
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_log_priv.h

index 908e7060428ccb4528703b2080530c8cf788a6d4..3f5a24dda9070147502fc6206571c6377fcdf22c 100644 (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.
  *
index d2410e78b7f59816bc36808d94924f2e8b011a94..b7b3f61aa2aee56e4b337ecb9789fca10227dacd 100644 (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.
  *