VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Miklos Szeredi <mszeredi@suse.cz> 2015-06-19 10:29:13 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2015-06-23 18:00:05 -0400 commit: 9bf39ab2adafd7cf8740859cb49e7b7952813a5d parent: 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01
Commit Summary:
vfs: add file_path() helper
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/coredump.c b/fs/coredump.c
index bbbe139ab280..5b771b36cc6e 100644
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@ -138,7 +138,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;