Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271768
b: refs/heads/master
c: 8607c42
h: refs/heads/master
v: v3
  • Loading branch information
Yu Tang authored and Mauro Carvalho Chehab committed Sep 6, 2011
1 parent f51fb7d commit 969ffe2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba7fcb0c954921534707f08ebc4d8beeb2eb17e7
refs/heads/master: 8607c42540d0aa61ab562506681d34c245b91fae
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/videobuf2-memops.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ void vb2_put_vma(struct vm_area_struct *vma)
if (!vma)
return;

if (vma->vm_file)
fput(vma->vm_file);

if (vma->vm_ops && vma->vm_ops->close)
vma->vm_ops->close(vma);

if (vma->vm_file)
fput(vma->vm_file);

kfree(vma);
}
EXPORT_SYMBOL_GPL(vb2_put_vma);
Expand Down

0 comments on commit 969ffe2

Please sign in to comment.