]> 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)
commite000583af29493d9581d1e109767b4226e7f54e6
tree6188815d7b4d99774f31d2d4afaea539fdcfa82d
parent04c3c4628d3e78518d691f2f9da68d282bcfe02c
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