From fc064b0eaee36923bbd465200b4bde6efbd4d899 Mon Sep 17 00:00:00 2001 From: Andrey Albershteyn Date: Fri, 5 Dec 2025 16:01:40 +0100 Subject: [PATCH] xfs: convert xfs_buf_log_format_t typedef to struct Reviewed-by: Andrey Albershteyn Reviewed-by: Christoph Hellwig --- include/xfs_trans.h | 2 +- logprint/log_print_all.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/xfs_trans.h b/include/xfs_trans.h index d7d39041..d4b546a0 100644 --- a/include/xfs_trans.h +++ b/include/xfs_trans.h @@ -50,7 +50,7 @@ typedef struct xfs_buf_log_item { struct xfs_buf *bli_buf; /* real buffer pointer */ unsigned int bli_flags; /* misc flags */ unsigned int bli_recur; /* recursion count */ - xfs_buf_log_format_t __bli_format; /* in-log header */ + struct xfs_buf_log_format __bli_format; /* in-log header */ } xfs_buf_log_item_t; #define XFS_BLI_DIRTY (1<<0) diff --git a/logprint/log_print_all.c b/logprint/log_print_all.c index 39946f32..0920c487 100644 --- a/logprint/log_print_all.c +++ b/logprint/log_print_all.c @@ -72,13 +72,13 @@ xlog_recover_print_buffer( { xfs_agi_t *agi; xfs_agf_t *agf; - xfs_buf_log_format_t *f; + struct xfs_buf_log_format *f; char *p; int len, num, i; xfs_daddr_t blkno; struct xfs_disk_dquot *ddq; - f = (xfs_buf_log_format_t *)item->ri_buf[0].iov_base; + f = (struct xfs_buf_log_format*)item->ri_buf[0].iov_base; printf(" "); ASSERT(f->blf_type == XFS_LI_BUF); printf(_("BUF: #regs:%d start blkno:0x%llx len:%d bmap size:%d flags:0x%x\n"), -- 2.47.3