]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: add missing unmaps in nvme_queue_rq
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:31 +0000 (07:58 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:32:07 +0000 (16:32 -0700)
commitd20457fd75ada8b30c39d1406f3f7fb65bc85ee8
treece5f411541d5a837ca275a4a8e64595047a9ab78
parent398bcd9349fb111b209c3b6410e3cb59839ebf07
nvme: add missing unmaps in nvme_queue_rq

When we fail various metadata related operations in nvme_queue_rq we
need to unmap the data SGL.

Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit bf508e910b02a6107a5aa054e03c6fc8a65dae1e)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/nvme/host/pci.c