X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fproc%2Fnommu.c;h=ccfd99bd1c5a627e41cae635f4527b8220af109e;hb=86feff3f3eb643cc5735d414e46a8201a8c67b8f;hp=b1822dde55c2a992cb1cfb16c3dd0b56d0ed1e4e;hpb=f43100ae39bfeb757b75835ef61f0c2c46c99348;p=~andy%2Flinux diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c index b1822dde55c..ccfd99bd1c5 100644 --- 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; }