Changeset 7b9381b in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c
- Timestamp:
- 2011-10-10T12:09:03Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 829d238
- Parents:
- 2ea6392
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs_ops.c
r2ea6392 r7b9381b 454 454 } 455 455 456 // TODO check if directory uses HTree457 if (ext4_filesystem_has_feature_compatible(fs, EXT4_FEATURE_COMPAT_DIR_INDEX)) {458 EXT4FS_DBG("Using HTree");459 }460 461 456 rc = ext4_directory_iterator_init(&it, fs, enode->inode_ref, 0); 462 457 if (rc != EOK) { … … 750 745 751 746 // TODO check if directory uses HTree 752 if (ext4_filesystem_has_feature_compatible(inst->filesystem, EXT4_FEATURE_COMPAT_DIR_INDEX)) { 753 EXT4FS_DBG("Using HTree"); 747 if (ext4_filesystem_has_feature_compatible(inst->filesystem, EXT4_FEATURE_COMPAT_DIR_INDEX) 748 && ext4_inode_has_flag(inode_ref->inode, EXT4_INODE_FLAG_INDEX)) { 749 EXT4FS_DBG("Directory using HTree"); 754 750 } 755 751 … … 827 823 ext4fs_instance_t *inst, ext4_inode_ref_t *inode_ref, size_t *rbytes) 828 824 { 829 EXT4FS_DBG("");830 831 825 int rc; 832 826 uint32_t block_size;
Note:
See TracChangeset
for help on using the changeset viewer.