]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs: convert xfs_buf_log_format_t typedef to struct
authorAndrey Albershteyn <aalbersh@redhat.com>
Fri, 5 Dec 2025 15:01:40 +0000 (16:01 +0100)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 8 Dec 2025 17:03:15 +0000 (18:03 +0100)
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/xfs_trans.h
logprint/log_print_all.c

index d7d390411964ad538dbd47926dfc49dba2ad4eb1..d4b546a0e3d026b8dd619c0691848c40cac18aef 100644 (file)
@@ -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)
index 39946f32d493bfab301f66c02149286e05f6d1b8..0920c4871cb5dfd37d54b88bbb0531ab222e48c4 100644 (file)
@@ -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"),