Shown in log the inode of directory read error

The unreadable directory record was poorly identified
edge.strict_endians^2
Jean-Pierre André 2021-07-12 08:31:18 +02:00
parent f30b52490f
commit 20d700841b
1 changed files with 3 additions and 2 deletions

View File

@ -400,8 +400,9 @@ descend_into_child_node:
if (br != 1) {
if (br != -1)
errno = EIO;
ntfs_log_perror("Failed to read vcn 0x%llx",
(unsigned long long)vcn);
ntfs_log_perror("Failed to read vcn 0x%llx from inode %lld",
(unsigned long long)vcn,
(unsigned long long)ia_na->ni->mft_no);
goto close_err_out;
}