From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:25 +0000 (-0800) Subject: [PATCH] struct path: convert netlink X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6db5fc5d536560e31978c6911b1f5662e42083ac;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] struct path: convert netlink Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 3baafb10f8f3..276131fe56dd 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -699,7 +699,7 @@ static struct sock *netlink_getsockbypid(struct sock *ssk, u32 pid) struct sock *netlink_getsockbyfilp(struct file *filp) { - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct sock *sock; if (!S_ISSOCK(inode->i_mode))