Changeset ab936440 in mainline for uspace/srv/fs/udf/udf_volume.c
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_volume.c
r7f7817a9 rab936440 386 386 udf_file_entry_descriptor_t *fed = 387 387 (udf_file_entry_descriptor_t *) block->data; 388 uint32_t start_alloc = FLE32(fed->ea_leng ht) + UDF_FE_OFFSET;388 uint32_t start_alloc = FLE32(fed->ea_length) + UDF_FE_OFFSET; 389 389 udf_short_ad_t *short_d = 390 390 (udf_short_ad_t *) ((uint8_t *) fed + start_alloc); 391 391 instance->partitions[id].start = FLE32(short_d->position); 392 instance->partitions[id].leng ht= FLE32(short_d->length);392 instance->partitions[id].length = FLE32(short_d->length); 393 393 break; 394 394 … … 398 398 udf_extended_file_entry_descriptor_t *efed = 399 399 (udf_extended_file_entry_descriptor_t *) block->data; 400 start_alloc = FLE32(efed->ea_leng ht) + UDF_EFE_OFFSET;400 start_alloc = FLE32(efed->ea_length) + UDF_EFE_OFFSET; 401 401 short_d = (udf_short_ad_t *) ((uint8_t *) efed + start_alloc); 402 402 instance->partitions[id].start = FLE32(short_d->position); 403 instance->partitions[id].leng ht= FLE32(short_d->length);403 instance->partitions[id].length = FLE32(short_d->length); 404 404 break; 405 405 } … … 503 503 instance->partitions[j].access_type = 504 504 FLE32(pd[pd_num].access_type); 505 instance->partitions[j].leng ht=505 instance->partitions[j].length = 506 506 FLE32(pd[pd_num].length); 507 507 instance->partitions[j].number = … … 518 518 519 519 instance->volumes[i].partition_cnt++; 520 idx += pm1->partition_map_leng ht;520 idx += pm1->partition_map_length; 521 521 continue; 522 522 } … … 586 586 "found and skipped", i, pm->partition_map_type); 587 587 588 idx += pm->partition_map_leng ht;588 idx += pm->partition_map_length; 589 589 } 590 590 } … … 710 710 FLE32(vol->partition.starting_location) + 711 711 FLE32(phd->unallocated_space_table.position); 712 instance->uaspace_leng ht=712 instance->uaspace_length = 713 713 FLE32(phd->unallocated_space_table.length); 714 714 } … … 724 724 FLE32(vol->partition.starting_location) + 725 725 FLE32(phd->unallocated_space_bitmap.position); 726 instance->uaspace_leng ht=726 instance->uaspace_length = 727 727 FLE32(phd->unallocated_space_bitmap.length); 728 728 } … … 773 773 sizeof(udf_extent_t)), sizeof(udf_common_descriptor_t)); 774 774 instance->uaspace_start = pos; 775 instance->uaspace_leng ht= sct;775 instance->uaspace_length = sct; 776 776 instance->uasd = (udf_unallocated_space_descriptor_t *) 777 777 malloc(sct * instance->sector_size);
Note:
See TracChangeset
for help on using the changeset viewer.