[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1272359898-32020-11-git-send-email-jkacur@redhat.com>
Date: Tue, 27 Apr 2010 11:18:18 +0200
From: John Kacur <jkacur@...hat.com>
To: Arnd Bergmann <arnd@...db.de>, lkml <linux-kernel@...r.kernel.org>
Cc: John Kacur <jkacur@...hat.com>, Arnd Bergmann <arnd@...db.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Jan Blunck <jblunck@...il.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 10/10] bkl: Fix-up compile problems as a result of the bkl-pushdown.
Fix-up compile problems as a result of the bkl-pushdown.
In particular, the v4l2_ioctl should call an unlocked_ioctl
Signed-off-by: John Kacur <jkacur@...hat.com>
---
drivers/media/video/v4l2-dev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/video/v4l2-dev.c b/drivers/media/video/v4l2-dev.c
index 3606694..8fbfa61 100644
--- a/drivers/media/video/v4l2-dev.c
+++ b/drivers/media/video/v4l2-dev.c
@@ -222,12 +222,12 @@ static long v4l2_ioctl(struct file *filp,
struct video_device *vdev = video_devdata(filp);
int ret;
- if (!vdev->fops->ioctl)
+ if (!vdev->fops->unlocked_ioctl)
return -ENOTTY;
/* Allow ioctl to continue even if the device was unregistered.
Things like dequeueing buffers might still be useful. */
lock_kernel();
- ret = vdev->fops->ioctl(filp->f_path.dentry->d_inode, filp, cmd, arg);
+ ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
unlock_kernel();
return ret;
--
1.6.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists