patch-2.3.13 linux/fs/umsdos/emd.c

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

diff -u --recursive --new-file v2.3.12/linux/fs/umsdos/emd.c linux/fs/umsdos/emd.c
@@ -34,7 +34,6 @@
 	mm_segment_t old_fs = get_fs ();
 
 	set_fs (KERNEL_DS);
-	MSDOS_I (filp->f_dentry->d_inode)->i_binary = 2;
 	ret = fat_file_read (filp, buf, count, &filp->f_pos);
 	set_fs (old_fs);
 	return ret;
@@ -53,15 +52,6 @@
 {
 	mm_segment_t old_fs = get_fs ();
 	ssize_t ret;
-
-	/* note: i_binary=2 is for CVF-FAT. We put it here, instead of
-	 * umsdos_file_write_kmem, since it is also wise not to compress
-	 * symlinks (in the unlikely event that they are > 512 bytes and
-	 * can be compressed.
-	 * FIXME: should we set it when reading symlinks too?
-	 */
-
-	MSDOS_I (filp->f_dentry->d_inode)->i_binary = 2;
 
 	set_fs (KERNEL_DS);
 	ret = fat_file_write (filp, buf, count, &filp->f_pos);

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