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>
Thu, 17 Feb 2022 22:05:51 +0000 (17:05 -0500)
commit7369d128ad036d747d59f3313915568481f8b354
tree3a2a1fcbfce300459b181bf4cecfec956876ff2b
parent9d4118dd7e4233fbd49de81d8aa4a1a14290ff85
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