remove redundant ntfs_mft_record_read error loggings

master
szaka 2009-02-11 00:46:01 +00:00
parent 901c3a7227
commit 29381f068e
1 changed files with 2 additions and 5 deletions

View File

@ -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;
}