Re: [PATCH v2] fix dmaengine_unmap failure

2014-04-09 Thread Dan Williams
On Wed, Mar 19, 2014 at 11:33 PM, wrote: > From: Xuelin Shi > > The count which is used to get_unmap_data maybe not the same as the > count computed in dmaengine_unmap which causes to free data in a > wrong pool. > > This patch fixes this issue by keeping the map count with unmap_data > structur

[PATCH v2] fix dmaengine_unmap failure

2014-03-20 Thread xuelin.shi
From: Xuelin Shi The count which is used to get_unmap_data maybe not the same as the count computed in dmaengine_unmap which causes to free data in a wrong pool. This patch fixes this issue by keeping the map count with unmap_data structure and use this count to get the pool. Signed-off-by: Xue