mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
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:
parent
a5e656751d
commit
cd0be288b9
@ -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. "
|
||||
|
Loading…
Reference in New Issue
Block a user