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

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