patch-2.1.51 linux/fs/read_write.c

Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/fs/read_write.c linux/fs/read_write.c
@@ -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;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov