Commit a03142fb authored by Peter Osterlund's avatar Peter Osterlund Committed by Linus Torvalds

[PATCH] fix bttv oops in btcx_riscmem_free

Signed-off-by: default avatarPeter Osterlund <petero2@telia.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8ce8001a
......@@ -1063,7 +1063,7 @@ videobuf_vm_close(struct vm_area_struct *vma)
continue;
map->q->bufs[i]->map = NULL;
map->q->bufs[i]->baddr = 0;
map->q->ops->buf_release(vma->vm_file,map->q->bufs[i]);
map->q->ops->buf_release(vma->vm_file->private_data,map->q->bufs[i]);
}
kfree(map);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment