mtip32xx: Unmap the DMA segments before completing the IO request

commit 368c89d7ac upstream.

If the buffers are unmapped after completing a request, then stale data
might be in the request.

Signed-off-by: Felipe Franciosi <felipe@paradoxo.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Felipe Franciosi 2014-03-13 14:34:21 +00:00 • committed by Greg Kroah-Hartman
commit 039c42311d