1
0
Fork 0

[PATCH] struct path: convert oprofile

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Josef Sipek 2006-12-08 02:37:27 -08:00 committed by Linus Torvalds
parent 80a067801d
commit 1fb1430b14
1 changed files with 4 additions and 4 deletions

View File

@ -220,8 +220,8 @@ static unsigned long get_exec_dcookie(struct mm_struct * mm)
continue;
if (!(vma->vm_flags & VM_EXECUTABLE))
continue;
cookie = fast_get_dcookie(vma->vm_file->f_dentry,
vma->vm_file->f_vfsmnt);
cookie = fast_get_dcookie(vma->vm_file->f_path.dentry,
vma->vm_file->f_path.mnt);
break;
}
@ -246,8 +246,8 @@ static unsigned long lookup_dcookie(struct mm_struct * mm, unsigned long addr, o
continue;
if (vma->vm_file) {
cookie = fast_get_dcookie(vma->vm_file->f_dentry,
vma->vm_file->f_vfsmnt);
cookie = fast_get_dcookie(vma->vm_file->f_path.dentry,
vma->vm_file->f_path.mnt);
*offset = (vma->vm_pgoff << PAGE_SHIFT) + addr -
vma->vm_start;
} else {