remove redundant ntfs_mft_record_read error loggings
parent
901c3a7227
commit
29381f068e
|
@ -288,10 +288,9 @@ int ntfs_file_record_read(const ntfs_volume *vol, const MFT_REF mref,
|
|||
if (!m)
|
||||
return -1;
|
||||
}
|
||||
if (ntfs_mft_record_read(vol, mref, m)) {
|
||||
ntfs_log_perror("ntfs_mft_record_read failed");
|
||||
if (ntfs_mft_record_read(vol, mref, m))
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
if (ntfs_mft_record_check(vol, mref, m))
|
||||
goto err_out;
|
||||
|
||||
|
@ -1402,7 +1401,6 @@ found_free_rec:
|
|||
goto undo_mftbmp_alloc;
|
||||
|
||||
if (ntfs_mft_record_read(vol, bit, m)) {
|
||||
ntfs_log_perror("Error reading mft %lld #2", (long long)bit);
|
||||
free(m);
|
||||
goto undo_mftbmp_alloc;
|
||||
}
|
||||
|
@ -1705,7 +1703,6 @@ found_free_rec:
|
|||
goto undo_mftbmp_alloc;
|
||||
|
||||
if (ntfs_mft_record_read(vol, bit, m)) {
|
||||
ntfs_log_perror("Error reading mft %lld", (long long)bit);
|
||||
free(m);
|
||||
goto undo_mftbmp_alloc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue