patch-2.1.45 linux/net/unix/garbage.c
Next file: linux/net/wanrouter/patchlevel
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Jul 13 21:20:11 1997
- Orig file:
v2.1.44/linux/net/unix/garbage.c
- Orig date:
Thu Dec 12 06:54:26 1996
diff -u --recursive --new-file v2.1.44/linux/net/unix/garbage.c linux/net/unix/garbage.c
@@ -68,7 +68,7 @@
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 ?
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov