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

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

diff -u --recursive --new-file v1.3.61/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -434,7 +434,7 @@
 		inode->i_size = CF_LE_L(raw_entry->size);
 	}
 	if(raw_entry->attr & ATTR_SYS)
-		if (MSDOS_I(inode)->sys_immutable)
+		if (MSDOS_SB(inode->i_sb)->sys_immutable)
 			inode->i_flags |= S_IMMUTABLE;
 	MSDOS_I(inode)->i_binary = is_binary(MSDOS_SB(inode->i_sb)->conversion,
 	    raw_entry->ext);

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