PhotoRec: Remove FAT copies and boot sector when searching from FAT32 free space
This commit is contained in:
parent
da4a34838d
commit
6471bd8ac5
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ static void fat32_remove_used_space(disk_t *disk_car,const partition_t *partitio
|
|||
log_trace("fat32_remove_used_space\n");
|
||||
buffer=(unsigned char *)MALLOC(sector_size);
|
||||
p32=(uint32_t*)buffer;
|
||||
del_search_space(list_search_space, partition->part_offset,
|
||||
partition->part_offset+(uint64_t)(start_data*sector_size)-1);
|
||||
for(prev_cluster=2;prev_cluster<=no_of_cluster+1;prev_cluster++)
|
||||
{
|
||||
unsigned long int cluster;
|
||||
|
|
Loading…
Reference in a new issue