]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: convert xfs_log_iovec_t typedef to struct
authorAndrey Albershteyn <aalbersh@redhat.com>
Fri, 5 Dec 2025 15:01:55 +0000 (16:01 +0100)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 8 Dec 2025 17:03:15 +0000 (18:03 +0100)
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
libxlog/xfs_log_recover.c

index 83d12df65694a6c29142ee4c388f50aeb4798c3c..3e7bbf08af1f4020b55d498d212067316dcb2f22 100644 (file)
@@ -1112,8 +1112,8 @@ xlog_recover_add_to_trans(
                }
 
                item->ri_total = in_f->ilf_size;
-               item->ri_buf = kzalloc(item->ri_total * sizeof(xfs_log_iovec_t),
-                                   0);
+               item->ri_buf = kzalloc(
+                       item->ri_total * sizeof(struct xfs_log_iovec), 0);
        }
        ASSERT(item->ri_total > item->ri_cnt);
        /* Description region is ri_buf[0] */