Changeset 84239b1 in mainline for uspace/lib/ext4/src/ops.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

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

    r850fd32 r84239b1  
    219219        ext4_node_t *eparent = EXT4_NODE(pfn);
    220220        ext4_filesystem_t *fs = eparent->instance->filesystem;
     221        errno_t rc2;
    221222
    222223        if (!ext4_inode_is_type(fs->superblock, eparent->inode_ref->inode,
     
    244245
    245246exit:
    246         ;
    247 
    248247        /* Destroy search result structure */
    249         errno_t const rc2 = ext4_directory_destroy_result(&result);
     248        rc2 = ext4_directory_destroy_result(&result);
    250249        return rc == EOK ? rc2 : rc;
    251250}
     
    12791278{
    12801279        fs_node_t *fn;
     1280        errno_t rc2;
    12811281        errno_t rc = ext4_node_get(&fn, service_id, index);
    12821282        if (rc != EOK)
     
    13951395
    13961396exit:
    1397         ;
    1398 
    1399         errno_t const rc2 = ext4_node_put(fn);
     1397        rc2 = ext4_node_put(fn);
    14001398        return rc == EOK ? rc2 : rc;
    14011399}
Note: See TracChangeset for help on using the changeset viewer.