async_pq_val: fix DMA memory leak
authorJustin Maggard <jmaggard10@gmail.com>
Tue, 4 Oct 2016 20:17:58 +0000 (13:17 -0700)
committerVinod Koul <vinod.koul@intel.com>
Wed, 5 Oct 2016 00:48:09 +0000 (06:18 +0530)
commitc84750906b4818d4929fbf73a4ae6c113b94f52b
treebd4dc345a73fc9e3685218c12225d72176e1e14b
parent96622bde4c3fc0b442d25646f70043a884d54285
async_pq_val: fix DMA memory leak

Add missing dmaengine_unmap_put(), so we don't OOM during RAID6 sync.

Fixes: 1786b943dad0 ("async_pq_val: convert to dmaengine_unmap_data")
Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
crypto/async_tx/async_pq.c