mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] struct path: convert netlink
Signed-off-by: Josef Sipek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6df81ab227
commit
6db5fc5d53
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue