Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 992cbf74 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Takashi Iwai
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d209974c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -641,7 +641,7 @@ static int mixer_ioctl(unsigned int cmd, unsigned long arg)

static long dev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
	int minor = iminor(inode);
	int minor = iminor(file->f_path.dentry->d_inode);
	int ret;

	if (cmd == OSS_GETVERSION) {