mm/gup: Change the calling convention for compound_next()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 10 Jan 2022 02:03:47 +0000 (21:03 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:35 +0000 (12:56 -0400)
commit28297dbcad7ed3d7bac373eef121339cb0cac326
tree7cef7f20f2c94360cb197520bda72cdac27a1c53
parent0b046e12ae5d6d286415a2e805fcfdd724b7add1
mm/gup: Change the calling convention for compound_next()

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

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>
mm/gup.c