]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: refactor nvme_unmap_data
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jan 2021 08:33:52 +0000 (09:33 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Jan 2021 17:56:26 +0000 (18:56 +0100)
commit2b579a019e50eb89bddf422c9984cefd4367ff16
tree4c8efb478c3a85ac0a0a31294cbe9c5dfaa96fa9
parent2b9c071138b21ad4487d28f9d5be499f5ca44476
nvme-pci: refactor nvme_unmap_data

Split out three helpers from nvme_unmap_data that will allow finer grained
unwinding from nvme_map_data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Marc Orr <marcorr@google.com>
drivers/nvme/host/pci.c