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>
Thu, 17 Feb 2022 22:05:52 +0000 (17:05 -0500)
commit931a45e12a75843ffe8c2220cf3f0a09bf2545d5
tree71002db2f090b6f8663f88c5e8e1805742605a1c
parentfa34f6e18da6e1e06baffd86bb02f2ffdd2cd56d
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