summaryrefslogtreecommitdiffstats
path: root/kernel/arch/tile/mm/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/tile/mm/elf.c')
-rw-r--r--kernel/arch/tile/mm/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/tile/mm/elf.c b/kernel/arch/tile/mm/elf.c
index f7ddae372..6225cc998 100644
--- a/kernel/arch/tile/mm/elf.c
+++ b/kernel/arch/tile/mm/elf.c
@@ -56,7 +56,7 @@ static int notify_exec(struct mm_struct *mm)
if (exe_file == NULL)
goto done_free;
- path = d_path(&exe_file->f_path, buf, PAGE_SIZE);
+ path = file_path(exe_file, buf, PAGE_SIZE);
if (IS_ERR(path))
goto done_put;