OSDN Git Service

Merge tag 'arc-v3.11-rc1-part1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[uclinux-h8/linux.git] / arch / arc / kernel / troubleshoot.c
index 7f85bc3..73a7450 100644 (file)
@@ -101,7 +101,7 @@ static void show_faulting_vma(unsigned long address, char *buf)
                if (file) {
                        struct path *path = &file->f_path;
                        nm = d_path(path, buf, PAGE_SIZE - 1);
-                       inode = vma->vm_file->f_path.dentry->d_inode;
+                       inode = file_inode(vma->vm_file);
                        dev = inode->i_sb->s_dev;
                        ino = inode->i_ino;
                }