Changeset c25e39b in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c


Ignore:
Timestamp:
2011-10-31T15:21:09Z (14 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9a0982
Parents:
c83a55c
Message:

bugfix, TODO resolving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/ext4fs/ext4fs_ops.c

    rc83a55c rc25e39b  
    224224        }
    225225
    226         // TODO check super block COMPAT FEATURES
    227         if (ext4_inode_has_flag(eparent->inode_ref->inode, EXT4_INODE_FLAG_INDEX)) {
     226        if (ext4_superblock_has_feature_compatible(fs->superblock, EXT4_FEATURE_COMPAT_DIR_INDEX) &&
     227                        ext4_inode_has_flag(eparent->inode_ref->inode, EXT4_INODE_FLAG_INDEX)) {
    228228
    229229                rc = ext4_directory_dx_find_entry(&it, fs, eparent->inode_ref, component_size, component);
Note: See TracChangeset for help on using the changeset viewer.