patch for 2.1.45 extra dentries

Bill Hawes (whawes@star.net)
Thu, 17 Jul 1997 18:35:50 -0400


This is a multi-part message in MIME format.
--------------1D7F06361C8CC59A3D8E3396
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The attached trivial patch fixes a minor problem resulting in extra
dentries for an inode.

-Bill
--------------1D7F06361C8CC59A3D8E3396
Content-Type: text/plain; charset=us-ascii; name="socket_45-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="socket_45-patch"

--- net/socket.c.old Thu Jul 17 06:36:55 1997
+++ net/socket.c Thu Jul 17 18:24:17 1997
@@ -227,7 +227,6 @@
file->f_op = &socket_file_ops;
file->f_mode = 3;
file->f_flags = O_RDWR;
- file->f_dentry = d_alloc_root(inode, NULL);
file->f_pos = 0;
}
return fd;

--------------1D7F06361C8CC59A3D8E3396--