diff options
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index ed9a61c6beb3..9f0b7efc3df5 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -855,7 +855,7 @@ static int elf_fdpic_map_file(struct elf_fdpic_params *params, | |||
855 | 855 | ||
856 | dynamic_error: | 856 | dynamic_error: |
857 | printk("ELF FDPIC %s with invalid DYNAMIC section (inode=%lu)\n", | 857 | printk("ELF FDPIC %s with invalid DYNAMIC section (inode=%lu)\n", |
858 | what, file->f_dentry->d_inode->i_ino); | 858 | what, file->f_path.dentry->d_inode->i_ino); |
859 | return -ELIBBAD; | 859 | return -ELIBBAD; |
860 | } | 860 | } |
861 | 861 | ||
@@ -1186,7 +1186,7 @@ static int maydump(struct vm_area_struct *vma) | |||
1186 | 1186 | ||
1187 | /* Dump shared memory only if mapped from an anonymous file. */ | 1187 | /* Dump shared memory only if mapped from an anonymous file. */ |
1188 | if (vma->vm_flags & VM_SHARED) { | 1188 | if (vma->vm_flags & VM_SHARED) { |
1189 | if (vma->vm_file->f_dentry->d_inode->i_nlink == 0) { | 1189 | if (vma->vm_file->f_path.dentry->d_inode->i_nlink == 0) { |
1190 | kdcore("%08lx: %08lx: no (share)", vma->vm_start, vma->vm_flags); | 1190 | kdcore("%08lx: %08lx: no (share)", vma->vm_start, vma->vm_flags); |
1191 | return 1; | 1191 | return 1; |
1192 | } | 1192 | } |