diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/oprofile/buffer_sync.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index 43e521e99126..78c2e6e4b42e 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c | |||
@@ -220,8 +220,8 @@ static unsigned long get_exec_dcookie(struct mm_struct * mm) | |||
220 | continue; | 220 | continue; |
221 | if (!(vma->vm_flags & VM_EXECUTABLE)) | 221 | if (!(vma->vm_flags & VM_EXECUTABLE)) |
222 | continue; | 222 | continue; |
223 | cookie = fast_get_dcookie(vma->vm_file->f_dentry, | 223 | cookie = fast_get_dcookie(vma->vm_file->f_path.dentry, |
224 | vma->vm_file->f_vfsmnt); | 224 | vma->vm_file->f_path.mnt); |
225 | break; | 225 | break; |
226 | } | 226 | } |
227 | 227 | ||
@@ -246,8 +246,8 @@ static unsigned long lookup_dcookie(struct mm_struct * mm, unsigned long addr, o | |||
246 | continue; | 246 | continue; |
247 | 247 | ||
248 | if (vma->vm_file) { | 248 | if (vma->vm_file) { |
249 | cookie = fast_get_dcookie(vma->vm_file->f_dentry, | 249 | cookie = fast_get_dcookie(vma->vm_file->f_path.dentry, |
250 | vma->vm_file->f_vfsmnt); | 250 | vma->vm_file->f_path.mnt); |
251 | *offset = (vma->vm_pgoff << PAGE_SHIFT) + addr - | 251 | *offset = (vma->vm_pgoff << PAGE_SHIFT) + addr - |
252 | vma->vm_start; | 252 | vma->vm_start; |
253 | } else { | 253 | } else { |