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

xfs_buf_delwri_pushbuf synchronously writes a buffer that is on a delwri
list already.  Instead of doing a complicated dance with the delwri
and wait list, just leave them alone and open code the actual buffer
write.

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