minor patch for 2.1.50 fs/read_write

Bill Hawes (whawes@star.net)
Sun, 17 Aug 1997 13:03:28 -0400


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

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--