]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: don't use xlog_in_core_2_t in struct xlog_in_core
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Oct 2025 07:05:50 +0000 (08:05 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 12 Nov 2025 10:09:25 +0000 (11:09 +0100)
commitbe665a4e27417227cf40cfe27e616838bb46548c
treeab2be9497f33a6992363d8dea9cbb7eb952dc7d5
parent899b7ee44baebcfb2b2366b2aff6e9aca4486c4d
xfs: don't use xlog_in_core_2_t in struct xlog_in_core

Most accessed to the on-disk log record header are for the original
xlog_rec_header.  Make that the main structure, and case for the
single remaining place using other union legs.

This prepares for removing xlog_in_core_2_t entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_trace.h