Changes in uspace/srv/fs/udf/udf_volume.c [c477c80:b1834a01] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_volume.c
rc477c80 rb1834a01 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 th) + UDF_FE_OFFSET;388 uint32_t start_alloc = FLE32(fed->ea_lenght) + 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 th= FLE32(short_d->length);392 instance->partitions[id].lenght = 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 th) + UDF_EFE_OFFSET;400 start_alloc = FLE32(efed->ea_lenght) + 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 th= FLE32(short_d->length);403 instance->partitions[id].lenght = 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 th=505 instance->partitions[j].lenght = 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 th;520 idx += pm1->partition_map_lenght; 521 521 continue; 522 522 } … … 586 586 "found and skipped", i, pm->partition_map_type); 587 587 588 idx += pm->partition_map_leng th;588 idx += pm->partition_map_lenght; 589 589 } 590 590 } … … 710 710 FLE32(vol->partition.starting_location) + 711 711 FLE32(phd->unallocated_space_table.position); 712 instance->uaspace_leng th=712 instance->uaspace_lenght = 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 th=726 instance->uaspace_lenght = 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 th= sct;775 instance->uaspace_lenght = 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.