mm/gup: Turn compound_range_next() into gup_folio_range_next()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 23 Dec 2021 15:20:12 +0000 (10:20 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:36 +0000 (12:56 -0400)
commit659508f9c936aa6e3aaf6e9cf6a4a8836b8f8355
tree24078e2e3ea51f6da131f87a2a29797e97414bb7
parent12521c7606b2037f8ac2a2fab19e955444a549cf
mm/gup: Turn compound_range_next() into gup_folio_range_next()

Convert the only caller to work on folios instead of pages.
This removes the last caller of put_compound_head(), so delete it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
include/linux/mm.h
mm/gup.c