]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/core/info.c
Merge branch 'tip/perf/urgent-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / sound / core / info.c
index 6b368d25073b154d34b8258d59b509a1ffb6c6d2..5bb97e7d325a21291f979e42d7f3dc668a3cff4d 100644 (file)
@@ -496,7 +496,7 @@ static long snd_info_entry_ioctl(struct file *file, unsigned int cmd,
 
 static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma)
 {
-       struct inode *inode = file->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(file);
        struct snd_info_private_data *data;
        struct snd_info_entry *entry;