From: Andrey Albershteyn Date: Fri, 5 Dec 2025 15:01:40 +0000 (+0100) Subject: xfs: convert xfs_buf_log_format_t typedef to struct X-Git-Tag: v6.18.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc064b0eaee36923bbd465200b4bde6efbd4d899;p=thirdparty%2Fxfsprogs-dev.git xfs: convert xfs_buf_log_format_t typedef to struct Reviewed-by: Andrey Albershteyn Reviewed-by: Christoph Hellwig --- 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"),