diff options
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r-- | net/unix/garbage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c index 2a10304df..cf0d634bc 100644 --- a/net/unix/garbage.c +++ b/net/unix/garbage.c @@ -68,7 +68,7 @@ static int in_stack = 0; /* first free entry in stack */ extern inline unix_socket *unix_get_socket(struct file *filp) { unix_socket * u_sock = NULL; - struct inode *inode = filp->f_inode; + struct inode *inode = filp->f_dentry->d_inode; /* * Socket ? |