mm/gup: Change the calling convention for compound_range_next()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 9 Jan 2022 21:05:11 +0000 (16:05 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 22:05:51 +0000 (17:05 -0500)
commit6522f8efb638dc507854bed7e16ff7185d7e58eb
treefc8f53fa9ecf79bff83277c770ada81c3b6268d3
parent15dc9a4cebadba5643942c77e65017eb2e3d8eb6
mm/gup: Change the calling convention for compound_range_next()

Return the head page instead of storing it to a passed parameter.
Pass the start page directly instead of passing a pointer to it.
Reorder the arguments to match the calling function's arguments.

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