aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/unix/garbage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index 746c2f4a5fa6..f14ad6635fcc 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -96,7 +96,7 @@ atomic_t unix_tot_inflight = ATOMIC_INIT(0);
96static struct sock *unix_get_socket(struct file *filp) 96static struct sock *unix_get_socket(struct file *filp)
97{ 97{
98 struct sock *u_sock = NULL; 98 struct sock *u_sock = NULL;
99 struct inode *inode = filp->f_dentry->d_inode; 99 struct inode *inode = filp->f_path.dentry->d_inode;
100 100
101 /* 101 /*
102 * Socket ? 102 * Socket ?