aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/compat_ioctl32.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:47 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:50 -0500
commit723731b2eef6599cf09af1fbfe0b12857b439e2d (patch)
tree967dbe38d2de0c8a490ed956d25ff3900abe23f3 /drivers/media/video/compat_ioctl32.c
parent33cb89940082c54f348062db2f8bab6cf8fed816 (diff)
[PATCH] struct path: convert v4l
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/compat_ioctl32.c')
-rw-r--r--drivers/media/video/compat_ioctl32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/compat_ioctl32.c b/drivers/media/video/compat_ioctl32.c
index d82a488f12a6..f065ad12cc61 100644
--- a/drivers/media/video/compat_ioctl32.c
+++ b/drivers/media/video/compat_ioctl32.c
@@ -118,7 +118,7 @@ static int native_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
118 ret = file->f_op->unlocked_ioctl(file, cmd, arg); 118 ret = file->f_op->unlocked_ioctl(file, cmd, arg);
119 else if (file->f_op->ioctl) { 119 else if (file->f_op->ioctl) {
120 lock_kernel(); 120 lock_kernel();
121 ret = file->f_op->ioctl(file->f_dentry->d_inode, file, cmd, arg); 121 ret = file->f_op->ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
122 unlock_kernel(); 122 unlock_kernel();
123 } 123 }
124 124