Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331117
b: refs/heads/master
c: 8c82c75
h: refs/heads/master
i:
  331115: ea70773
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 26, 2012
1 parent 8e6a5ef commit 0033901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d2210f9e2e269975db413b8fe4de2f07e6a09b05
refs/heads/master: 8c82c75c3950dea31fe03567125feea089893141
4 changes: 2 additions & 2 deletions trunk/drivers/media/v4l2-core/videobuf2-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,7 @@ ssize_t vb2_fop_write(struct file *file, char __user *buf,
goto exit;
err = vb2_write(vdev->queue, buf, count, ppos,
file->f_flags & O_NONBLOCK);
if (err >= 0)
if (vdev->queue->fileio)
vdev->queue->owner = file->private_data;
exit:
if (lock)
Expand All @@ -2300,7 +2300,7 @@ ssize_t vb2_fop_read(struct file *file, char __user *buf,
goto exit;
err = vb2_read(vdev->queue, buf, count, ppos,
file->f_flags & O_NONBLOCK);
if (err >= 0)
if (vdev->queue->fileio)
vdev->queue->owner = file->private_data;
exit:
if (lock)
Expand Down

0 comments on commit 0033901

Please sign in to comment.