]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: use better names for size members in xfs_log_vec
authorChristoph Hellwig <hch@lst.de>
Thu, 22 May 2025 17:40:09 +0000 (19:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 15 Jul 2025 12:26:43 +0000 (14:26 +0200)
commitecc8d40bb13ceea539d96c70da756f54d41a773f
treeb0ea04c75f2075314d45bae243a231a49aee4c7f
parent5a7330b95e236d59a5f65b1b9e588dc4c9030572
xfs: use better names for size members in xfs_log_vec

The lv_size member counts the size of the entire allocation, rename it to
lv_alloc_size to make that clear.

The lv_buf_len member tracks how much of lv_buf has been used up
to format the log item, rename it to lv_buf_used to make that more clear.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_log_cil.c