Don't free extent inodes in attrib.c! (Szakacsits Szabolcs)

(Logical change 1.45)
edge.strict_endians
cantab.net!aia21 2002-12-13 15:54:44 +00:00
parent 301b3734af
commit 151fa56ec6
2 changed files with 1 additions and 5 deletions

View File

@ -162,6 +162,7 @@
to the closing of the base inode to dispose of all the extent inodes.
- Add sanity check to ntfs_inode_close() to detect attempts at closing
extent inodes.
- Don't free extent inodes in attrib.c! (Szakacsits Szabolcs)
12/03/2002 - 1.6.0 - More mkntfs options and cleanups.
Fix typo in usage information of mkntfs. Thanks to Richard Russon for

View File

@ -1559,9 +1559,6 @@ is_enumeration:
break;
}
} else { /* Mft references do not match. */
/* If there is a mapped extent inode unmap it first. */
if (ni != base_ni)
ntfs_inode_close(ni);
/* Do we want the base record back? */
if (MREF_LE(al_entry->mft_reference) ==
base_ni->mft_no) {
@ -1642,8 +1639,6 @@ do_next_attr:
goto do_next_attr_loop;
}
if (ni != base_ni) {
if (ni)
ntfs_inode_close(ni);
ctx->ntfs_ino = base_ni;
ctx->mrec = ctx->base_mrec;
ctx->attr = ctx->base_attr;