Re: [PATCH 15/17] memremap: drop private struct page_map

From: Dan Williams
Date: Sun Dec 17 2017 - 13:44:01 EST


On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig <hch@xxxxxx> wrote:
> From: Logan Gunthorpe <logang@xxxxxxxxxxxx>
>
> 'struct page_map' is a private structure of 'struct dev_pagemap' but the
> latter replicates all the same fields as the former so there isn't much
> value in it. Thus drop it in favour of a completely public struct.
>
> This is a clean up in preperation for a more generally useful
> 'devm_memeremap_pages' interface.
>
> Signed-off-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks good,

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>