diff options
Diffstat (limited to 'fs/proc/task_mmu.c')
-rw-r--r-- | fs/proc/task_mmu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 6b769afac55a..55ade0d15621 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
@@ -94,8 +94,8 @@ int proc_exe_link(struct inode *inode, struct dentry **dentry, struct vfsmount * | |||
94 | } | 94 | } |
95 | 95 | ||
96 | if (vma) { | 96 | if (vma) { |
97 | *mnt = mntget(vma->vm_file->f_vfsmnt); | 97 | *mnt = mntget(vma->vm_file->f_path.mnt); |
98 | *dentry = dget(vma->vm_file->f_dentry); | 98 | *dentry = dget(vma->vm_file->f_path.dentry); |
99 | result = 0; | 99 | result = 0; |
100 | } | 100 | } |
101 | 101 | ||
@@ -135,7 +135,7 @@ static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats | |||
135 | int len; | 135 | int len; |
136 | 136 | ||
137 | if (file) { | 137 | if (file) { |
138 | struct inode *inode = vma->vm_file->f_dentry->d_inode; | 138 | struct inode *inode = vma->vm_file->f_path.dentry->d_inode; |
139 | dev = inode->i_sb->s_dev; | 139 | dev = inode->i_sb->s_dev; |
140 | ino = inode->i_ino; | 140 | ino = inode->i_ino; |
141 | } | 141 | } |
@@ -156,7 +156,7 @@ static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats | |||
156 | */ | 156 | */ |
157 | if (file) { | 157 | if (file) { |
158 | pad_len_spaces(m, len); | 158 | pad_len_spaces(m, len); |
159 | seq_path(m, file->f_vfsmnt, file->f_dentry, "\n"); | 159 | seq_path(m, file->f_path.mnt, file->f_path.dentry, "\n"); |
160 | } else { | 160 | } else { |
161 | const char *name = arch_vma_name(vma); | 161 | const char *name = arch_vma_name(vma); |
162 | if (!name) { | 162 | if (!name) { |