Changes by: antona
Update of /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs
In directory usw-pr-cvs1:/tmp/cvs-serv31085/linux/fs/ntfs
Modified Files:
attrib.c
Log Message:
Fix a buglet in le/be hanbdling.
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/attrib.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -U2 -r1.62 -r1.63
--- attrib.c 13 Feb 2002 02:33:53 -0000 1.62
+++ attrib.c 13 Feb 2002 03:05:22 -0000 1.63
@@ -700,5 +700,6 @@
VCN max_cluster;
- max_cluster = (attr->allocated_size + vol->cluster_size - 1) >>
+ max_cluster = (sle64_to_cpu(attr->allocated_size) +
+ vol->cluster_size - 1) >>
vol->cluster_size_bits;
/*
|