Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 rcde999a  
    5757 *
    5858 */
    59 static errno_t udf_read_extended_allocator(udf_node_t *node, uint16_t icb_flag,
     59static int udf_read_extended_allocator(udf_node_t *node, uint16_t icb_flag,
    6060    uint32_t pos)
    6161{
    6262        block_t *block = NULL;
    63         errno_t rc = block_get(&block, node->instance->service_id, pos,
     63        int rc = block_get(&block, node->instance->service_id, pos,
    6464            BLOCK_FLAGS_NONE);
    6565        if (rc != EOK)
     
    9393 *
    9494 */
    95 errno_t udf_read_allocation_sequence(udf_node_t *node, uint8_t *af,
     95int udf_read_allocation_sequence(udf_node_t *node, uint8_t *af,
    9696    uint16_t icb_flag, uint32_t start_alloc, uint32_t len)
    9797{
     
    233233 * @return    EOK on success or an error code.
    234234 */
    235 errno_t udf_read_icb(udf_node_t *node)
     235int udf_read_icb(udf_node_t *node)
    236236{
    237237        while (true) {
     
    239239               
    240240                block_t *block = NULL;
    241                 errno_t rc = block_get(&block, node->instance->service_id, pos,
     241                int rc = block_get(&block, node->instance->service_id, pos,
    242242                    BLOCK_FLAGS_NONE);
    243243                if (rc != EOK)
     
    303303 *
    304304 */
    305 errno_t udf_node_get_core(udf_node_t *node)
     305int udf_node_get_core(udf_node_t *node)
    306306{
    307307        node->link_cnt = 1;
     
    318318 *
    319319 */
    320 static errno_t udf_get_fid_in_data(udf_file_identifier_descriptor_t **fid,
     320static int udf_get_fid_in_data(udf_file_identifier_descriptor_t **fid,
    321321    udf_node_t *node, aoff64_t pos)
    322322{
     
    369369 *
    370370 */
    371 errno_t udf_get_fid(udf_file_identifier_descriptor_t **fid, block_t **block,
     371int udf_get_fid(udf_file_identifier_descriptor_t **fid, block_t **block,
    372372    udf_node_t *node, aoff64_t pos)
    373373{
     
    388388 *
    389389 */
    390 errno_t udf_get_fid_in_allocator(udf_file_identifier_descriptor_t **fid,
     390int udf_get_fid_in_allocator(udf_file_identifier_descriptor_t **fid,
    391391    block_t **block, udf_node_t *node, aoff64_t pos)
    392392{
     
    402402                size_t i = 0;
    403403                while (i * node->instance->sector_size < node->allocators[j].length) {
    404                         errno_t rc = block_get(block, node->instance->service_id,
     404                        int rc = block_get(block, node->instance->service_id,
    405405                            node->allocators[j].position + i, BLOCK_FLAGS_NONE);
    406406                        if (rc != EOK) {
     
    469469 *
    470470 */
    471 errno_t udf_get_fid_in_sector(udf_file_identifier_descriptor_t **fid,
     471int udf_get_fid_in_sector(udf_file_identifier_descriptor_t **fid,
    472472    block_t **block, udf_node_t *node, aoff64_t pos, size_t *n, void **buf,
    473473    size_t *len)
     
    576576 *
    577577 */
    578 errno_t udf_read_file(size_t *read_len, ipc_callid_t callid, udf_node_t *node,
     578int udf_read_file(size_t *read_len, ipc_callid_t callid, udf_node_t *node,
    579579    aoff64_t pos, size_t len)
    580580{
     
    594594       
    595595        block_t *block = NULL;
    596         errno_t rc = block_get(&block, node->instance->service_id,
     596        int rc = block_get(&block, node->instance->service_id,
    597597            node->allocators[i].position + (sector_num - sector_cnt),
    598598            BLOCK_FLAGS_NONE);
Note: See TracChangeset for help on using the changeset viewer.