projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-block.git]
/
fs
/
proc
/
nommu.c
diff --git
a/fs/proc/nommu.c
b/fs/proc/nommu.c
index b1822dde55c2a992cb1cfb16c3dd0b56d0ed1e4e..ccfd99bd1c5a627e41cae635f4527b8220af109e 100644
(file)
--- a/
fs/proc/nommu.c
+++ b/
fs/proc/nommu.c
@@
-45,7
+45,7
@@
static int nommu_region_show(struct seq_file *m, struct vm_region *region)
file = region->vm_file;
if (file) {
- struct inode *inode =
region->vm_file->f_path.dentry->d_inode
;
+ struct inode *inode =
file_inode(region->vm_file)
;
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
}