FAT: allow listing of deleted directory
This commit is contained in:
parent
117c387da8
commit
b06692ccf8
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ static int fat_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *d
|
||||||
}
|
}
|
||||||
if(get_next_cluster(disk_car, partition, partition->upart_type, le16(fat_header->reserved), cluster)==0)
|
if(get_next_cluster(disk_car, partition, partition->upart_type, le16(fat_header->reserved), cluster)==0)
|
||||||
{
|
{
|
||||||
return 0;
|
log_warning("FAT: Directory entry is marked as free.\n");
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
const unsigned int cluster_size=fat_header->sectors_per_cluster * fat_sector_size(fat_header);
|
const unsigned int cluster_size=fat_header->sectors_per_cluster * fat_sector_size(fat_header);
|
||||||
|
|
Loading…
Reference in a new issue