author: Linus Torvalds <torvalds@linux-foundation.org> 2015-07-04 19:36:06 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2015-07-04 19:36:06 -0700
commit: 1dc51b8288007753ad7cd7d08bb8fa930fc8bb10
parent: 9b284cbdb5de3b8871014f8290d1b540e5181c21
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/coredump.c b/fs/coredump.c
index e52e0064feac..c5ecde6f3eed 100644
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@ -140,7 +140,7 @@ static int cn_print_exe_file(struct core_name *cn)
goto put_exe_file;
}
- path = d_path(&exe_file->f_path, pathbuf, PATH_MAX);
+ path = file_path(exe_file, pathbuf, PATH_MAX);
if (IS_ERR(path)) {
ret = PTR_ERR(path);
goto free_buf;