]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: add a xlog_write_space_left helper
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2025 12:14:24 +0000 (13:14 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
commit865970d49a45af00ac4576684c33024e8d59b84c
tree011cd81ab76b527bb7751f79bbd5032bcc3205fa
parenta3eb1f9cf85ff88939f5a9d360efc3eb73469afd
xfs: add a xlog_write_space_left helper

Various places check how much space is left in the current iclog,
add a helper for that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_log.c