Changeset be39fc6 in mainline for uspace/lib/ext4/src/filesystem.c
- Timestamp:
- 2017-05-11T22:26:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de5b708
- Parents:
- 4bfad34
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/filesystem.c
r4bfad34 rbe39fc6 69 69 * 70 70 */ 71 int ext4_filesystem_init(ext4_filesystem_t *fs, ext4 fs_instance_t *inst,71 int ext4_filesystem_init(ext4_filesystem_t *fs, ext4_instance_t *inst, 72 72 service_id_t service_id, enum cache_mode cmode, aoff64_t *size) 73 73 { … … 135 135 /* Read root node */ 136 136 fs_node_t *root_node; 137 rc = ext4 fs_node_get_core(&root_node, inst, EXT4_INODE_ROOT_INDEX);137 rc = ext4_node_get_core(&root_node, inst, EXT4_INODE_ROOT_INDEX); 138 138 if (rc != EOK) 139 139 goto err_2; … … 148 148 ext4_superblock_set_mount_count(fs->superblock, mnt_count + 1); 149 149 150 ext4 fs_node_t *enode = EXT4FS_NODE(root_node);150 ext4_node_t *enode = EXT4_NODE(root_node); 151 151 152 152 *size = ext4_inode_get_size(fs->superblock, enode->inode_ref->inode); 153 153 154 ext4 fs_node_put(root_node);154 ext4_node_put(root_node); 155 155 return EOK; 156 156 err_3: 157 ext4 fs_node_put(root_node);157 ext4_node_put(root_node); 158 158 err_2: 159 159 block_cache_fini(fs->device);
Note:
See TracChangeset
for help on using the changeset viewer.