Re: [PATCH] fix dmaengine_unmap failure.
From: Dan Williams <hidden>
Date: 2014-03-18 17:13:40
From: Dan Williams <hidden>
Date: 2014-03-18 17:13:40
On Tue, Mar 18, 2014 at 1:32 AM, [off-list ref] wrote:
From: Xuelin Shi <redacted> 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 pool in unmap_data structure.
Won't this free the entire count anyways? In what scenario is the count different at unmap?