Re: [PATCH] mmc: fix host release issue after discard operation

2013-10-25 Thread Ray Jui
On 10/25/2013 3:42 AM, Seungwon Jeon wrote: Hi Ray, On Fri, October 25, 2013, Ray Jui wrote: Under function mmc_blk_issue_rq, after an MMC discard operation, the MMC request data structure may be freed in memory. Later in the same function, the check of req->cmd_flags & MMC_REQ_SPECIAL_MASK is

RE: [PATCH] mmc: fix host release issue after discard operation

2013-10-25 Thread Seungwon Jeon
Hi Ray, On Fri, October 25, 2013, Ray Jui wrote: > Under function mmc_blk_issue_rq, after an MMC discard operation, > the MMC request data structure may be freed in memory. Later in > the same function, the check of req->cmd_flags & MMC_REQ_SPECIAL_MASK > is dangerous and invalid. It causes the MM

[PATCH] mmc: fix host release issue after discard operation

2013-10-24 Thread Ray Jui
Under function mmc_blk_issue_rq, after an MMC discard operation, the MMC request data structure may be freed in memory. Later in the same function, the check of req->cmd_flags & MMC_REQ_SPECIAL_MASK is dangerous and invalid. It causes the MMC host not being released when it should This patch fixes