On Tue, May 21, 2024 at 07:49:38PM +0800, Xu Yang wrote: > Add mapping_max_folio_size() to get the maximum folio size for this > pagecache mapping. > > Fixes: 5d8edfb900d5 ("iomap: Copy larger chunks from userspace") > Cc: stable@xxxxxxxxxxxxxxx > Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> > Signed-off-by: Xu Yang <xu.yang_2@xxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>