]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-rdma: fix error flow during mapping request data
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 10 Jun 2018 13:58:29 +0000 (16:58 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Jun 2018 14:17:58 +0000 (16:17 +0200)
commit6245dfbdf26867d1bc4cb40fd2713650bbfde4ec
tree6188815d7b4d99774f31d2d4afaea539fdcfa82d
parent28a2b379e59ac44570afb80f9219b36237116de2
nvme-rdma: fix error flow during mapping request data

After dma mapping the sgl, we map the sgl to nvme sgl descriptor. In case
of failure during the last mapping we never dma unmap the sgl.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c