Do not record inode open when failed (debug only)

edge.strict_endians
Jean-Pierre André 2011-01-10 11:16:39 +01:00
parent 6f85502c22
commit 9b2ecca3df
1 changed files with 3 additions and 0 deletions

View File

@ -481,6 +481,9 @@ ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref)
} else {
ni = ntfs_inode_real_open(vol, mref);
}
if (!ni) {
debug_double_inode(item.inum, 0);
}
#else
ni = ntfs_inode_real_open(vol, mref);
#endif