]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/proc/generic.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / fs / proc / generic.c
index 51fcb201e289fa3b9abcdb6e530e5165ca886f86..c0ad720c37b9ccca12814883c62dbcb2879b4b8b 100644 (file)
@@ -346,7 +346,7 @@ void proc_free_inum(unsigned int inum)
 
 static void *proc_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       nd_set_link(nd, PDE(dentry->d_inode)->data);
+       nd_set_link(nd, PDE_DATA(dentry->d_inode));
        return NULL;
 }