|
 2.3.9
 fs
 open.c
diff -u --recursive --new-file v2.3.8/linux/fs/open.c linux/fs/open.c
--- v2.3.8/linux/fs/open.c Mon May 24 22:47:43 1999
+++ linux/fs/open.c Mon Jun 28 11:44:52 1999
@@ -790,7 +790,7 @@
int retval;
struct dentry *dentry = filp->f_dentry;
- if (filp->f_count == 0) {
+ if (!atomic_read(&filp->f_count)) {
printk("VFS: Close: file count is 0\n");
return 0;
}
|