Skip to content

Commit

Permalink
sound/oss-msnd-pinnacle: ioctl needs the inode
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
arndb authored and tiwai committed Jul 14, 2010
1 parent d209974 commit 992cbf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/oss/msnd_pinnacle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 992cbf7

Please sign in to comment.