Skip to content

Commit

Permalink
ntfsck: add missing ntfsck_update_lcn_bitmap
Browse files Browse the repository at this point in the history
no error on previous versions... Add missing ntfsck_update_lcn_bitmap
calling in ntfsck_verify_mft_record().

Parse #1: Check system files...
Parse #2: Replay logfile...
Parse #3: Check index entries in volume...
Parse #4: Check mft entries in volume...
Parse #5: Check cluster bitmap...
Found orphaned cluster bit(17735931) in $Bitmap. Clear it (y/N)? N
Found orphaned cluster bit(17736983) in $Bitmap. Clear it (y/N)? N
Found orphaned cluster bit(17771531) in $Bitmap. Clear it (y/N)? N
Found orphaned cluster bit(17772038) in $Bitmap. Clear it (y/N)? N
4 errors found, 0 fixed

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
  • Loading branch information
namjaejeon committed Feb 16, 2023
1 parent 05d35c7 commit a628c07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ntfsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,10 @@ static void ntfsck_verify_mft_record(ntfs_volume *vol, s64 mft_num)
ntfsck_update_lcn_bitmap(ni);
ntfs_inode_close(ni);
}
} else
} else {
ntfsck_update_lcn_bitmap(ni);
ntfs_inode_close(ni);
}
}

#if DEBUG
Expand Down

0 comments on commit a628c07

Please sign in to comment.