]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: improve the iclog space assert in xlog_write_iovec
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2025 12:14:25 +0000 (13:14 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
commite2663443da71445a0c847199480b6a53ddec35e5
treefb7e88f6c147449ea31b9a35d481193a667e83b2
parent865970d49a45af00ac4576684c33024e8d59b84c
xfs: improve the iclog space assert in xlog_write_iovec

We need enough space for the length we copy into the iclog, not just
some space, so tighten up the check a bit.

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