]> www.infradead.org Git - users/dwmw2/linux.git/commit
iomap: factor out a iomap_last_written_block helper
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Oct 2024 08:59:12 +0000 (10:59 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 15 Oct 2024 09:37:41 +0000 (11:37 +0200)
commitc0adf8c3a9bf33f1dd1bf950601380f46a3fcec3
tree5373e5d270bf94c5f8a186b0173b71eb802d15dd
parent0fb823f1cf3417e06846d1ffe2c97e10a65a847e
iomap: factor out a iomap_last_written_block helper

Split out a pice of logic from iomap_file_buffered_write_punch_delalloc
that is useful for all iomap_end implementations.

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/iomap/buffered-io.c
include/linux/iomap.h