]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/P2PDMA: use the dev_pagemap internal refcount
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:16 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
commitd0b3517dbcf3f632f7554d878f85943439aade64
treeb3036b2676d213388e4c257b693ab8a852a6d4d0
parentea31d5859f5862fc915ccf3fa34f6c6c5f63f336
PCI/P2PDMA: use the dev_pagemap internal refcount

The functionality is identical to the one currently open coded in
p2pdma.c.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Tested-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/pci/p2pdma.c