[PATCH] VFS: change struct file to use struct path
[deliverable/linux.git] / fs / binfmt_elf.c
index be5869d349991d69b9f1bafdc6258bc9f5fac6a6..c6dbb4a7ec78ef52ce08245624f4d32a33b403de 100644 (file)
@@ -1190,7 +1190,7 @@ static int maydump(struct vm_area_struct *vma)
 
        /* Dump shared memory only if mapped from an anonymous file. */
        if (vma->vm_flags & VM_SHARED)
-               return vma->vm_file->f_dentry->d_inode->i_nlink == 0;
+               return vma->vm_file->f_path.dentry->d_inode->i_nlink == 0;
 
        /* If it hasn't been written to, don't write it out */
        if (!vma->anon_vma)
This page took 0.024636 seconds and 5 git commands to generate.