From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:25 +0000 (-0800) Subject: [PATCH] struct path: convert netlink X-Git-Tag: v2.6.20-rc1~34^2~294 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db5fc5d536560e31978c6911b1f5662e42083ac;p=linux-2.6 [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 3baafb10f8..276131fe56 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))