memremap: pass a struct dev_pagemap to ->kill and ->cleanup
Passing the actual typed structure leads to more understandable code vs just passing the ref member. Reported-by:Logan Gunthorpe <logang@deltatee.com> Signed-off-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Logan Gunthorpe <logang@deltatee.com> Reviewed-by:
Jason Gunthorpe <jgg@mellanox.com> Reviewed-by:
Dan Williams <dan.j.williams@intel.com> Tested-by:
Dan Williams <dan.j.williams@intel.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/dax/device.c 6 additions, 6 deletionsdrivers/dax/device.c
- drivers/nvdimm/pmem.c 9 additions, 9 deletionsdrivers/nvdimm/pmem.c
- drivers/pci/p2pdma.c 5 additions, 4 deletionsdrivers/pci/p2pdma.c
- include/linux/memremap.h 2 additions, 2 deletionsinclude/linux/memremap.h
- kernel/memremap.c 4 additions, 4 deletionskernel/memremap.c
- mm/hmm.c 5 additions, 5 deletionsmm/hmm.c
- tools/testing/nvdimm/test/iomap.c 2 additions, 2 deletionstools/testing/nvdimm/test/iomap.c
Loading
Please register or sign in to comment