Changeset 5c83612b in mainline for uspace/lib/ext4/libext4_directory.c
- Timestamp:
- 2012-02-18T12:51:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a7d6185
- Parents:
- 856a36b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_directory.c
r856a36b r5c83612b 260 260 } 261 261 262 staticvoid ext4_directory_write_entry(ext4_superblock_t *sb,262 void ext4_directory_write_entry(ext4_superblock_t *sb, 263 263 ext4_directory_entry_ll_t *entry, uint16_t entry_len, 264 264 ext4_inode_ref_t *child, const char *name, size_t name_len) … … 293 293 EXT4FS_DBG("trying INDEX"); 294 294 295 rc = ext4_directory_dx_add_entry(fs, parent, name_len, entry_name);295 rc = ext4_directory_dx_add_entry(fs, parent, child, name_len, entry_name); 296 296 297 297 // Check if index is not corrupted … … 514 514 } 515 515 516 // TODO modify HTREE index if exists517 518 516 uint32_t block_size = ext4_superblock_get_block_size(fs->superblock); 519 517 uint32_t pos = it.current_offset % block_size;
Note:
See TracChangeset
for help on using the changeset viewer.