]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move write verification out of _xfs_buf_ioapply
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 14:12:11 +0000 (15:12 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jan 2025 10:38:14 +0000 (11:38 +0100)
commit0195647abaac92f5dbd2799f64d19f316fd97b7a
tree0291dd9c5ab25f4298242b9619a8b07a7a8acee8
parent72842dbc2b81c4a43203b47b1d4c1ec2aa508020
xfs: move write verification out of _xfs_buf_ioapply

Split the write verification logic out of _xfs_buf_ioapply into a new
xfs_buf_verify_write helper called by xfs_buf_submit given that it isn't
about applying the I/O and doesn't really fit in with the rest of
_xfs_buf_ioapply.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c