mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 03:50:54 +07:00
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>
This commit is contained in:
parent
d209974cdc
commit
992cbf7438
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user