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

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

diff -u --recursive --new-file v2.1.102/linux/fs/ntfs/inode.c linux/fs/ntfs/inode.c
@@ -470,11 +470,12 @@
 		dest->size=l;
 		return 0;
 	}
-	if(attr->compressed)
+	if(attr->compressed) {
 		if(dest->do_read)
 			return ntfs_read_compressed(ino,attr,offset,dest);
 		else
 			return ntfs_write_compressed(ino,attr,offset,dest);
+	}
 	vcn=0;
 	s_vcn = offset/clustersize;
 	for(rnum=0;rnum<attr->d.r.len && 

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