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

Add a wrapper for xlog_write for the two callers who need to build a
log_vec and add it to a single-entry chain instead of duplicating the
code.

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
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_log_priv.h