patch-2.2.14 linux/fs/fat/inode.c

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

diff -u --recursive --new-file v2.2.13/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -370,7 +370,7 @@
 	MSDOS_I(inode)->i_fat_inode = inode;
 	inode->i_uid = MSDOS_SB(sb)->options.fs_uid;
 	inode->i_gid = MSDOS_SB(sb)->options.fs_gid;
-	inode->i_version = ++event;
+	inode->i_version = ++global_event;
 	MSDOS_I(inode)->i_last_pos = 0;
 	inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(sb)->options.fs_umask) | S_IFDIR;
 	inode->i_op = MSDOS_SB(sb)->dir_ops;
@@ -759,7 +759,7 @@
 	MSDOS_I(inode)->i_fat_inode = inode;
 	inode->i_uid = MSDOS_SB(sb)->options.fs_uid;
 	inode->i_gid = MSDOS_SB(sb)->options.fs_gid;
-	inode->i_version = ++event;
+	inode->i_version = ++global_event;
 	if ((de->attr & ATTR_DIR) && !IS_FREE(de->name)) {
 		MSDOS_I(inode)->i_last_pos = 0;
 		inode->i_mode = MSDOS_MKMODE(de->attr,S_IRWXUGO &

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