projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: add file_path() helper
[cascardo/linux.git]
/
fs
/
coredump.c
diff --git
a/fs/coredump.c
b/fs/coredump.c
index
bbbe139
..
5b771b3
100644
(file)
--- 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;