patch-2.1.77 linux/fs/ntfs/inode.c

Next file: linux/fs/ntfs/support.c
Previous file: linux/fs/ntfs/fs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/fs/ntfs/inode.c linux/fs/ntfs/inode.c
@@ -850,8 +850,7 @@
 	{
 		head = NTFS_GETU16(src) & 0xFFF;
 		/* high bit indicates that compression was performed */
-		comp = NTFS_GETU8(src) & 0x80;
-		comp = (head == 0xFFF);
+		comp = NTFS_GETU16(src) & 0x8000;
 		src += 2;
 		stop = src+head;
 		bits = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov