patch-2.2.14 linux/fs/file_table.c

Next file: linux/fs/filesystems.c
Previous file: linux/fs/fat/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/fs/file_table.c linux/fs/file_table.c
@@ -80,7 +80,7 @@
 	new_one:
 		memset(f, 0, sizeof(*f));
 		f->f_count = 1;
-		f->f_version = ++event;
+		f->f_version = ++global_event;
 		f->f_uid = current->fsuid;
 		f->f_gid = current->fsgid;
 		put_inuse(f);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)