提交 63337dd3 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (6581): Fix: avoids negative vma usage count

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 33f77714
......@@ -571,6 +571,8 @@ static void em28xx_vm_close(struct vm_area_struct *vma)
{
/* NOTE: buffers are not freed here */
struct em28xx_frame_t *f = vma->vm_private_data;
if (f->vma_use_count)
f->vma_use_count--;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册