Bugfix: ntfs_mft_load didn't fill in the size fields in the $MFT inode.

edge.strict_endians
Erik Larsson 2011-08-03 11:02:33 +02:00
parent 277c8c8cdf
commit 7f2d1efa82
1 changed files with 5 additions and 0 deletions

View File

@ -374,6 +374,11 @@ mft_has_no_attr_list:
/* Done with the $Mft mft record. */
ntfs_attr_put_search_ctx(ctx);
ctx = NULL;
/* Update the size fields in the inode. */
vol->mft_ni->data_size = vol->mft_na->data_size;
vol->mft_ni->allocated_size = vol->mft_na->allocated_size;
/*
* The volume is now setup so we can use all read access functions.
*/