Re: [PATCH v6 11/27] mm/filemap: Add folio_next_index

2021-04-06 Thread Christoph Hellwig
On Wed, Mar 31, 2021 at 07:47:12PM +0100, Matthew Wilcox (Oracle) wrote: > This helper returns the page index of the next folio in the file (ie > the end of this folio, plus one). Looks good, Reviewed-by: Christoph Hellwig

[PATCH v6 11/27] mm/filemap: Add folio_next_index

2021-03-31 Thread Matthew Wilcox (Oracle)
This helper returns the page index of the next folio in the file (ie the end of this folio, plus one). Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/pagemap.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 6749c