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

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

diff -u --recursive --new-file v1.3.71/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -100,13 +100,13 @@
 			else return 0;
 		}
 		else if (!strcmp(this_char,"dots")) {
-		  *dotsOK = 1;
+			*dotsOK = 1;
 		}
 		else if (!strcmp(this_char,"nodots")) {
-		  *dotsOK = 0;
+			*dotsOK = 0;
 		}
 		else if (!strcmp(this_char,"showexec")) {
-		  *showexec = 1;
+			*showexec = 1;
 		}
 		else if (!strcmp(this_char,"dotsOK") && value) {
 			if (!strcmp(value,"yes")) *dotsOK = 1;
@@ -162,7 +162,6 @@
 				return 0;
 			*sys_immutable = 1;
 		}
-		else return 1;
 	}
 	return 1;
 }
@@ -385,6 +384,7 @@
 	MSDOS_I(inode)->i_binary = 1;
 	inode->i_uid = MSDOS_SB(inode->i_sb)->fs_uid;
 	inode->i_gid = MSDOS_SB(inode->i_sb)->fs_gid;
+	inode->i_version = ++event;
 	if (inode->i_ino == MSDOS_ROOT_INO) {
 		inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(inode->i_sb)->fs_umask) |
 		    S_IFDIR;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this