aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-07-14 09:11:39 -0400
committerTakashi Iwai <tiwai@suse.de>2010-07-14 09:14:02 -0400
commit992cbf743862916dfbfdd3238fe3fecffbab5dd3 (patch)
treee7ab91619d2bf016d002a5b200e183a129bc888e /sound
parentd209974cdc36aeeef406fa2019e9e1dacecbb979 (diff)
sound/oss-msnd-pinnacle: ioctl needs the inode
This broke in sound/oss: convert to unlocked_ioctl, when I missed one of the ioctl functions still using the inode pointer. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/msnd_pinnacle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c
index 9ffd29f32aa5..bfaac5fa13d7 100644
--- a/sound/oss/msnd_pinnacle.c
+++ b/sound/oss/msnd_pinnacle.c
@@ -641,7 +641,7 @@ static int mixer_ioctl(unsigned int cmd, unsigned long arg)
641 641
642static long dev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 642static long dev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
643{ 643{
644 int minor = iminor(inode); 644 int minor = iminor(file->f_path.dentry->d_inode);
645 int ret; 645 int ret;
646 646
647 if (cmd == OSS_GETVERSION) { 647 if (cmd == OSS_GETVERSION) {