Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6016/ntfsprogs
Modified Files:
mkntfs.c
Log Message:
Fix NTFS version 3.x index entries creation. Everybody is MUCH happier now!
Erik got this right in his patch, it got non-functional due to libntfs changes.
Index: mkntfs.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/mkntfs.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- mkntfs.c 28 Oct 2005 12:55:42 -0000 1.80
+++ mkntfs.c 1 Nov 2005 00:12:08 -0000 1.81
@@ -2767,7 +2767,7 @@ static int insert_index_entry_in_res_dir
err = -ENOMEM;
goto err_out;
}
- if (ntfs_attr_lookup(AT_INDEX_ROOT, name, name_size, 0, 0,
+ if (mkntfs_attr_lookup(AT_INDEX_ROOT, name, name_size, 0, 0,
NULL, 0, ctx)) {
err = EEXIST;
goto err_out;
|