summaryrefslogtreecommitdiff
path: root/arch/tile/mm/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/mm/elf.c')
-rw-r--r--arch/tile/mm/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/mm/elf.c b/arch/tile/mm/elf.c
index f7ddae3725a4..6225cc998db1 100644
--- a/arch/tile/mm/elf.c
+++ b/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;