Fixed debug check for double opening after deleting an inode

A debug check could be defeated when a deleted inode number was reused.
This commit is contained in:
Jean-Pierre André 2012-01-23 18:05:27 +01:00
parent a5e656751d
commit cd0be288b9

View File

@ -2002,6 +2002,7 @@ search:
"Leaving inconsistent metadata.\n");
}
#endif
debug_double_inode(ni->mft_no,0);
if (ntfs_mft_record_free(ni->vol, ni)) {
err = errno;
ntfs_log_error("Failed to free base MFT record. "