projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nfsd/sunrpc: move sv_module parm into sv_ops
[firefly-linux-kernel-4.4.55.git]
/
fs
/
binfmt_elf.c
diff --git
a/fs/binfmt_elf.c
b/fs/binfmt_elf.c
index cd46e415883090747d8238c2a2fbaa9b101dbc5e..6b659967898ebc534c1ce8d91ff1179f050e8f34 100644
(file)
--- a/
fs/binfmt_elf.c
+++ b/
fs/binfmt_elf.c
@@
-1530,7
+1530,7
@@
static int fill_files_note(struct memelfnote *note)
file = vma->vm_file;
if (!file)
continue;
file = vma->vm_file;
if (!file)
continue;
- filename =
d_path(&file->f_path
, name_curpos, remaining);
+ filename =
file_path(file
, name_curpos, remaining);
if (IS_ERR(filename)) {
if (PTR_ERR(filename) == -ENAMETOOLONG) {
vfree(data);
if (IS_ERR(filename)) {
if (PTR_ERR(filename) == -ENAMETOOLONG) {
vfree(data);
@@
-1540,7
+1540,7
@@
static int fill_files_note(struct memelfnote *note)
continue;
}
continue;
}
- /*
d
_path() fills at the end, move name down */
+ /*
file
_path() fills at the end, move name down */
/* n = strlen(filename) + 1: */
n = (name_curpos + remaining) - filename;
remaining = filename - name_curpos;
/* n = strlen(filename) + 1: */
n = (name_curpos + remaining) - filename;
remaining = filename - name_curpos;