]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: remove xfs_buf_delwri_submit_buffers
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 14:12:10 +0000 (15:12 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jan 2025 10:38:14 +0000 (11:38 +0100)
commit72842dbc2b81c4a43203b47b1d4c1ec2aa508020
tree0f4fbb55d0653c6c0e21a4ef6cf522255accb845
parenteb43b0b5cab885a9a76f5edb57020ad03eaf82b2
xfs: remove xfs_buf_delwri_submit_buffers

xfs_buf_delwri_submit_buffers has two callers for synchronous and
asynchronous writes that share very little logic.  Split out a helper for
the shared per-buffer loop and otherwise open code the submission in the
two callers.

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