patch-2.3.99-pre7 linux/net/socket.c

Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/sched/sch_teql.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/socket.c linux/net/socket.c
@@ -269,6 +269,8 @@
 		}
 
 		file->f_dentry = d_alloc_root(sock->inode);
+		/* MOUNT_REWRITE: set to sockfs internal vfsmnt */
+		file->f_vfsmnt = NULL;
 		if (!file->f_dentry) {
 			put_filp(file);
 			put_unused_fd(fd);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)