]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: add folio_fill_tail() and use it in iomap
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 7 Nov 2023 21:26:41 +0000 (21:26 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 20 Nov 2023 21:16:27 +0000 (13:16 -0800)
commitdfa1bae47a62a152fb83ac3baafe2f757499a78b
tree3158b75b05ada0d9be0414bd311ed08b34f00113
parentfe397538c51c890381422b5d58b8aa8b8b5b3ceb
mm: add folio_fill_tail() and use it in iomap

The iomap code was limited to PAGE_SIZE bytes; generalise it to cover
an arbitrary-sized folio, and move it to be a common helper.

Link: https://lkml.kernel.org/r/20231107212643.3490372-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/iomap/buffered-io.c
include/linux/highmem.h