Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/superblock.c

    rb7fd2a0 r38d150e  
    11271127 *
    11281128 */
    1129 errno_t ext4_superblock_read_direct(service_id_t service_id, ext4_superblock_t **sb)
     1129int ext4_superblock_read_direct(service_id_t service_id, ext4_superblock_t **sb)
    11301130{
    11311131        /* Allocated memory for superblock structure */
     
    11351135       
    11361136        /* Read data from block device */
    1137         errno_t rc = block_read_bytes_direct(service_id, EXT4_SUPERBLOCK_OFFSET,
     1137        int rc = block_read_bytes_direct(service_id, EXT4_SUPERBLOCK_OFFSET,
    11381138            EXT4_SUPERBLOCK_SIZE, data);
    11391139       
     
    11571157 *
    11581158 */
    1159 errno_t ext4_superblock_write_direct(service_id_t service_id, ext4_superblock_t *sb)
     1159int ext4_superblock_write_direct(service_id_t service_id, ext4_superblock_t *sb)
    11601160{
    11611161        /* Load physical block size from block device */
    11621162        size_t phys_block_size;
    1163         errno_t rc = block_get_bsize(service_id, &phys_block_size);
     1163        int rc = block_get_bsize(service_id, &phys_block_size);
    11641164        if (rc != EOK)
    11651165                return rc;
     
    11991199 *
    12001200 */
    1201 errno_t ext4_superblock_check_sanity(ext4_superblock_t *sb)
     1201int ext4_superblock_check_sanity(ext4_superblock_t *sb)
    12021202{
    12031203        if (ext4_superblock_get_magic(sb) != EXT4_SUPERBLOCK_MAGIC)
Note: See TracChangeset for help on using the changeset viewer.