From: Josef Sipek Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton --- net/unix/garbage.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN net/unix/garbage.c~struct-path-convert-unix net/unix/garbage.c --- a/net/unix/garbage.c~struct-path-convert-unix +++ a/net/unix/garbage.c @@ -96,7 +96,7 @@ atomic_t unix_tot_inflight = ATOMIC_INIT static struct sock *unix_get_socket(struct file *filp) { struct sock *u_sock = NULL; - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; /* * Socket ? _