Commit 1fb1430b authored by Josef Sipek's avatar Josef Sipek Committed by Linus Torvalds
Browse files

[PATCH] struct path: convert oprofile

parent 80a06780
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 {