| Kernel v2.4.11 /net/socket.c |
|---|
 2.4.11
 net
 socket.c
diff -u --recursive --new-file v2.4.10/linux/net/socket.c linux/net/socket.c
--- v2.4.10/linux/net/socket.c Sun Sep 23 11:41:02 2001
+++ linux/net/socket.c Fri Sep 28 18:03:48 2001
@@ -440,11 +440,10 @@
struct inode * inode;
struct socket * sock;
- inode = get_empty_inode();
+ inode = new_inode(sock_mnt->mnt_sb);
if (!inode)
return NULL;
- inode->i_sb = sock_mnt->mnt_sb;
sock = socki_lookup(inode);
inode->i_mode = S_IFSOCK|S_IRWXUGO;
|