]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: move write verification out of _xfs_buf_ioapply
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Dec 2024 11:05:48 +0000 (11:05 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 04:17:36 +0000 (05:17 +0100)
commit6429f2a0b2f4d2232f80d04399b1bbbbf693bfbd
treef42c925963c82117774bdb757c677a6477dcec0d
parentb5090798e24de48deab9fb22e96ea8b90c999bdc
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>
fs/xfs/xfs_buf.c