readdir returns error if a filename can't be utf8 converted instead of skipping it

master
szaka 2008-12-22 00:27:12 +00:00
parent 2a004f0911
commit 6718cf6de0
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ static int ntfs_fuse_filler(ntfs_fuse_fill_context_t *fill_ctx,
if (ntfs_ucstombs(name, name_len, &filename, 0) < 0) {
ntfs_log_perror("Skipping unrepresentable filename (inode %llu)",
(unsigned long long)MREF(mref));
return 0;
return -1;
}
if (ntfs_fuse_is_named_data_stream(filename)) {