fix: empty index block is EIO, not EOPNOTSUPP
parent
a7b27505ea
commit
6066e9f04d
|
@ -1696,9 +1696,8 @@ descend:
|
|||
goto descend;
|
||||
|
||||
if (ntfs_ih_zero_entry(&ib->index)) {
|
||||
errno = EOPNOTSUPP;
|
||||
ntfs_log_perror("Failed to find any entry in an index block. "
|
||||
"Please run chkdsk.");
|
||||
errno = EIO;
|
||||
ntfs_log_perror("Empty index block");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue