Re: [PATCH 11/22] memremap: remove the data field in struct dev_pagemap

From: Jason Gunthorpe
Date: Thu Jun 13 2019 - 15:42:15 EST


On Thu, Jun 13, 2019 at 11:43:14AM +0200, Christoph Hellwig wrote:
> struct dev_pagemap is always embedded into a containing structure, so
> there is no need to an additional private data field.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/nvdimm/pmem.c | 2 +-
> include/linux/memremap.h | 3 +--
> kernel/memremap.c | 2 +-
> mm/hmm.c | 9 +++++----
> 4 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

Jason