mm/filemap: Add folio_next_index()
This helper returns the page index of the next folio in the file (ie the end of this folio, plus one). No changes to generated code. Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Acked-by:
Jeff Layton <jlayton@kernel.org> Acked-by:
Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by:
Vlastimil Babka <vbabka@suse.cz> Reviewed-by:
William Kucharski <william.kucharski@oracle.com> Reviewed-by:
David Howells <dhowells@redhat.com> Acked-by:
Mike Rapoport <rppt@linux.ibm.com>
Showing
Please register or sign in to comment