Changeset 82a3b31f in mainline
- Timestamp:
- 2011-06-03T20:25:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d7c3367
- Parents:
- 21300a2
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/ext2info/ext2info.c
r21300a2 r82a3b31f 586 586 ext2_directory_iterator_t it; 587 587 size_t name_size; 588 uint32_t inode; 588 589 589 590 printf(" Directory contents:\n"); … … 600 601 printf(" "); 601 602 print_data(&it.current->name, name_size); 602 printf(" --> %u\n", it.current->inode); 603 604 inode = ext2_directory_entry_ll_get_inode(it.current); 605 printf(" --> %u\n", inode); 603 606 604 607 rc = ext2_directory_iterator_next(&it); -
uspace/lib/ext2/libext2_superblock.c
r21300a2 r82a3b31f 184 184 return EXT2_REV0_INODE_SIZE; 185 185 } 186 return uint 32_t_le2host(sb->inode_size);186 return uint16_t_le2host(sb->inode_size); 187 187 } 188 188 -
uspace/srv/fs/ext2fs/ext2fs_ops.c
r21300a2 r82a3b31f 232 232 size_t component_size; 233 233 bool found = false; 234 uint32_t inode; 234 235 235 236 fs = eparent->instance->filesystem; … … 254 255 255 256 while (it.current != NULL) { 257 inode = ext2_directory_entry_ll_get_inode(it.current); 258 256 259 /* ignore empty directory entries */ 257 if (i t.current->inode != 0) {260 if (inode != 0) { 258 261 name_size = ext2_directory_entry_ll_get_name_length(fs->superblock, 259 262 it.current); … … 262 265 name_size) == 0) { 263 266 rc = ext2fs_node_get_core(rfn, eparent->instance, 264 i t.current->inode);267 inode); 265 268 if (rc != EOK) { 266 269 ext2_directory_iterator_fini(&it);
Note:
See TracChangeset
for help on using the changeset viewer.