Ignore:
File:
1 edited

Legend:

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

    rcde999a rb7fd2a0  
    8484 *
    8585 */
    86 static int udf_volume_recongnition_structure_test(service_id_t service_id,
     86static errno_t udf_volume_recongnition_structure_test(service_id_t service_id,
    8787    aoff64_t addr, udf_vrs_descriptor_t *vd)
    8888{
     
    100100 * @return    EOK on success or an error code.
    101101 */
    102 int udf_volume_recongnition(service_id_t service_id)
     102errno_t udf_volume_recongnition(service_id_t service_id)
    103103{
    104104        aoff64_t addr = VRS_ADDR;
     
    109109                return ENOMEM;
    110110       
    111         int rc = udf_volume_recongnition_structure_test(service_id, addr, vd);
     111        errno_t rc = udf_volume_recongnition_structure_test(service_id, addr, vd);
    112112        if (rc != EOK) {
    113113                free(vd);
     
    170170 *
    171171 */
    172 static int udf_get_anchor_volume_descriptor_by_ssize(service_id_t service_id,
     172static errno_t udf_get_anchor_volume_descriptor_by_ssize(service_id_t service_id,
    173173    udf_anchor_volume_descriptor_t *avd, uint32_t sector_size)
    174174{
    175         int rc = block_read_bytes_direct(service_id,
     175        errno_t rc = block_read_bytes_direct(service_id,
    176176            UDF_AVDP_SECTOR * sector_size,
    177177            sizeof(udf_anchor_volume_descriptor_t), avd);
     
    207207 *
    208208 */
    209 int udf_get_anchor_volume_descriptor(service_id_t service_id,
     209errno_t udf_get_anchor_volume_descriptor(service_id_t service_id,
    210210    udf_anchor_volume_descriptor_t *avd)
    211211{
     
    213213       
    214214        udf_instance_t *instance;
    215         int rc = fs_instance_get(service_id, (void **) &instance);
     215        errno_t rc = fs_instance_get(service_id, (void **) &instance);
    216216        if (rc != EOK)
    217217                return rc;
     
    360360 *
    361361 */
    362 static int udf_read_virtual_partition(udf_instance_t *instance, uint32_t pos,
     362static errno_t udf_read_virtual_partition(udf_instance_t *instance, uint32_t pos,
    363363    uint32_t id)
    364364{
    365365        block_t *block = NULL;
    366         int rc = block_get(&block, instance->service_id, pos,
     366        errno_t rc = block_get(&block, instance->service_id, pos,
    367367            BLOCK_FLAGS_NONE);
    368368        if (rc != EOK)
     
    441441 *
    442442 */
    443 static int udf_fill_volume_info(udf_logical_volume_descriptor_t *lvd,
     443static errno_t udf_fill_volume_info(udf_logical_volume_descriptor_t *lvd,
    444444    size_t lvd_cnt, udf_partition_descriptor_t *pd, size_t pd_cnt,
    445445    udf_instance_t *instance)
     
    553553                                instance->partitions[j].number =
    554554                                    FLE16(metadata->partition_number);
    555                                 int rc = udf_read_virtual_partition(instance,
     555                                errno_t rc = udf_read_virtual_partition(instance,
    556556                                    FLE32(metadata->metadata_fileloc) +
    557557                                    FLE32(pd[pd_num].starting_location), j);
     
    601601 *
    602602 */
    603 int udf_read_volume_descriptor_sequence(service_id_t service_id,
     603errno_t udf_read_volume_descriptor_sequence(service_id_t service_id,
    604604    udf_extent_t addr)
    605605{
    606606        udf_instance_t *instance;
    607         int rc = fs_instance_get(service_id, (void **) &instance);
     607        errno_t rc = fs_instance_get(service_id, (void **) &instance);
    608608        if (rc != EOK)
    609609                return rc;
Note: See TracChangeset for help on using the changeset viewer.