X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fbinfmt_elf.c;h=6b659967898ebc534c1ce8d91ff1179f050e8f34;hb=be120397e7709d9d5ed88317a385ce864a2603bc;hp=cd46e415883090747d8238c2a2fbaa9b101dbc5e;hpb=93a4b1b9465d92e8be031b57166afa3d5611e142;p=deliverable%2Flinux.git diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index cd46e4158830..6b659967898e 100644 --- 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; - 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); @@ -1540,7 +1540,7 @@ static int fill_files_note(struct memelfnote *note) 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;