summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-16 15:25:12 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 10:57:21 +0200
commite77e43003382e46c673c9f82b5f2df8058d3c527 (patch)
treef3e39a55a38f202bdcee0778e79520c172c996f5 /arch/arc
parentkill find_inode_number() (diff)
downloadlinux-e77e43003382e46c673c9f82b5f2df8058d3c527.tar.xz
linux-e77e43003382e46c673c9f82b5f2df8058d3c527.zip
more open-coded file_inode() calls
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/troubleshoot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c
index 11c301b81c92..a03528ecd276 100644
--- a/arch/arc/kernel/troubleshoot.c
+++ b/arch/arc/kernel/troubleshoot.c
@@ -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;
}