nvme: add missing unmaps in nvme_queue_rq
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:31 +0000 (07:58 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 24 Nov 2015 22:24:05 +0000 (15:24 -0700)
commitbf508e910b02a6107a5aa054e03c6fc8a65dae1e
treee019ffb504f6cdec7c024c8704d0e69231494332
parentc5c9f25b98a568451d665afe4aeefe17bf9f2995
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>
drivers/nvme/host/pci.c