]> git.karo-electronics.de Git - linux-beck.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)
commit368c89d7ac70f937c93cd6f3b65bcfdfb3ba794f
treeffc3c184fe0d78671f4db04bdc6ff8c73fdc8c41
parent1044b1bb9278f2e656a1a7b63dc24a59506540aa
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