Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31833/ntfsprogs
Modified Files:
ntfsls.c
Log Message:
ntfsls: not all files started with '$' are system files, check by inode number instead.
Index: ntfsls.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsls.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- ntfsls.c 6 Jul 2005 22:47:19 -0000 1.23
+++ ntfsls.c 20 Jul 2005 16:04:40 -0000 1.24
@@ -481,7 +481,7 @@ static int list_dir_entry(ntfsls_dirent
}
result = 0; // These are successful
- if ((filename[0] == '$') && (!opts.system))
+ if ((MREF(mref) < FILE_first_user) && (!opts.system))
goto free;
if (name_type == FILE_NAME_POSIX && !opts.all)
goto free;
|