Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22226/libntfs
Modified Files:
index.c
Log Message:
- Fix bug in index.c pointed by Anton, many thanks to him.
- Small updates all over the place:
* NEWS
* ntfscp manual page
* ntfsinfo prints parent directory for FILE_NAME attribute
* year in ntfscp copyright
Index: index.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/index.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- index.c 5 Jun 2005 14:55:09 -0000 1.3
+++ index.c 5 Jun 2005 23:48:55 -0000 1.4
@@ -75,9 +75,10 @@ void ntfs_index_ctx_put(ntfs_index_conte
if (ictx->ia_dirty) {
if (ntfs_attr_mst_pwrite(ictx->ia_na,
ictx->ia_vcn <<
- ictx->ni->vol->cluster_size, 1,
- ictx->block_size, ictx->ia) !=
- 1)
+ ictx->ni->vol->
+ cluster_size_bits,
+ 1, ictx->block_size,
+ ictx->ia) != 1)
ntfs_error(, "Failed to write out "
"index block.");
}
|