patch-2.1.37 linux/fs/open.c

Next file: linux/fs/pipe.c
Previous file: linux/fs/nfsd/vfs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/fs/open.c linux/fs/open.c
@@ -605,7 +605,7 @@
 cleanup_inode:
 	iput(inode);
 cleanup_file:
-	f->f_count--;
+	put_filp(f);
 	return error;
 }
 

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