The attached patch fixes a possible leak of f_count.
Regards,
Bill
--------------846E93C9187572E667871F6A
Content-Type: text/plain; charset=us-ascii; name="read_write50-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="read_write50-patch"
--- fs/read_write.c.old Sat Jul 19 08:17:14 1997
+++ fs/read_write.c Sun Aug 17 12:51:27 1997
@@ -130,7 +130,7 @@
goto bad_file;
dentry = file->f_dentry;
if (!dentry)
- goto bad_file;
+ goto out;
inode = dentry->d_inode;
if (!inode)
goto out;
--------------846E93C9187572E667871F6A--