mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
more open-coded file_inode() calls
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
0b3fca1fd1
commit
e77e430033
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue