Enforce minimum inode allocation 24 in ntfs_mft_bitmap_find_free_rec().

(Logical change 1.610)
edge.strict_endians
cantab.net!aia21 2004-10-13 10:56:24 +00:00
parent 34256e4de3
commit 3f58b75146
1 changed files with 2 additions and 0 deletions

View File

@ -425,6 +425,8 @@ static int ntfs_mft_bitmap_find_free_rec(ntfs_volume *vol, ntfs_inode *base_ni)
data_pos = vol->mft_data_pos;
else
data_pos = base_ni->mft_no + 1;
if (data_pos < 24)
data_pos = 24;
if (data_pos >= pass_end) {
data_pos = 24;
pass = 2;