Hi Anton,
I found bug in libntfs and after look at kernel driver it's seems that
it's present in it too. ictx->ir is not set in ntfs_index_lookup if
entry is placed in INDEX_ROOT, but it should point to INDEX_ROOT in
which this entry placed.
Signed-off-by: Yura Pakhuchiy <[EMAIL PROTECTED]>
--
Best regards,
Yura
diff -ruNp -X kernel.ignore ntfs-2.6-devel/fs/ntfs/index.c ntfs-2.6-yura/fs/ntfs/index.c
--- ntfs-2.6-devel/fs/ntfs/index.c 2005-07-01 00:38:49.000000000 +0300
+++ ntfs-2.6-yura/fs/ntfs/index.c 2005-07-22 23:47:18.000000000 +0300
@@ -209,6 +209,7 @@ ir_done:
ictx->base_ni = base_ni;
ictx->ia = NULL;
ictx->page = NULL;
+ ictx->ir = ir;
done:
ictx->entry = ie;
ictx->data = (u8*)ie +