Changeset c477c80 in mainline for uspace/srv/fs/udf/udf_volume.c


Ignore:
Timestamp:
2019-01-03T22:23:00Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06412ba
Parents:
7acd787
Message:

Fix some common misspellings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/udf/udf_volume.c

    r7acd787 rc477c80  
    386386                udf_file_entry_descriptor_t *fed =
    387387                    (udf_file_entry_descriptor_t *) block->data;
    388                 uint32_t start_alloc = FLE32(fed->ea_lenght) + UDF_FE_OFFSET;
     388                uint32_t start_alloc = FLE32(fed->ea_length) + UDF_FE_OFFSET;
    389389                udf_short_ad_t *short_d =
    390390                    (udf_short_ad_t *) ((uint8_t *) fed + start_alloc);
    391391                instance->partitions[id].start = FLE32(short_d->position);
    392                 instance->partitions[id].lenght = FLE32(short_d->length);
     392                instance->partitions[id].length = FLE32(short_d->length);
    393393                break;
    394394
     
    398398                udf_extended_file_entry_descriptor_t *efed =
    399399                    (udf_extended_file_entry_descriptor_t *) block->data;
    400                 start_alloc = FLE32(efed->ea_lenght) + UDF_EFE_OFFSET;
     400                start_alloc = FLE32(efed->ea_length) + UDF_EFE_OFFSET;
    401401                short_d = (udf_short_ad_t *) ((uint8_t *) efed + start_alloc);
    402402                instance->partitions[id].start = FLE32(short_d->position);
    403                 instance->partitions[id].lenght = FLE32(short_d->length);
     403                instance->partitions[id].length = FLE32(short_d->length);
    404404                break;
    405405        }
     
    503503                                instance->partitions[j].access_type =
    504504                                    FLE32(pd[pd_num].access_type);
    505                                 instance->partitions[j].lenght =
     505                                instance->partitions[j].length =
    506506                                    FLE32(pd[pd_num].length);
    507507                                instance->partitions[j].number =
     
    518518
    519519                                instance->volumes[i].partition_cnt++;
    520                                 idx += pm1->partition_map_lenght;
     520                                idx += pm1->partition_map_length;
    521521                                continue;
    522522                        }
     
    586586                            "found and skipped", i, pm->partition_map_type);
    587587
    588                         idx += pm->partition_map_lenght;
     588                        idx += pm->partition_map_length;
    589589                }
    590590        }
     
    710710                                    FLE32(vol->partition.starting_location) +
    711711                                    FLE32(phd->unallocated_space_table.position);
    712                                 instance->uaspace_lenght =
     712                                instance->uaspace_length =
    713713                                    FLE32(phd->unallocated_space_table.length);
    714714                        }
     
    724724                                    FLE32(vol->partition.starting_location) +
    725725                                    FLE32(phd->unallocated_space_bitmap.position);
    726                                 instance->uaspace_lenght =
     726                                instance->uaspace_length =
    727727                                    FLE32(phd->unallocated_space_bitmap.length);
    728728                        }
     
    773773                            sizeof(udf_extent_t)), sizeof(udf_common_descriptor_t));
    774774                        instance->uaspace_start = pos;
    775                         instance->uaspace_lenght = sct;
     775                        instance->uaspace_length = sct;
    776776                        instance->uasd = (udf_unallocated_space_descriptor_t *)
    777777                            malloc(sct * instance->sector_size);
Note: See TracChangeset for help on using the changeset viewer.