]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: Unmap the DMA segments before completing the IO request
authorFelipe Franciosi <felipe@paradoxo.org>
Thu, 13 Mar 2014 14:34:21 +0000 (14:34 +0000)
committerJens Axboe <axboe@fb.com>
Thu, 13 Mar 2014 20:56:39 +0000 (14:56 -0600)
commita88b0d3ab8a47d17cec219642167fccad1e51b90
treeffc3c184fe0d78671f4db04bdc6ff8c73fdc8c41
parent4c71cfb9978f69c768e91ea4a1ca1aa4d268f942
mtip32xx: Unmap the DMA segments before completing the IO request

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>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c