Changeset ff4f073 in mainline for uspace/srv/fs/ext2fs/ext2fs_ops.c


Ignore:
Timestamp:
2011-06-03T22:33:13Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
547c37a, 8d6c1f1
Parents:
5c96b2a (diff), 911ee54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge ext2 fixes from http://ho.st.dcs.fmph.uniba.sk/~mato/bzr/helenos-ext2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/ext2fs/ext2fs_ops.c

    r5c96b2a rff4f073  
    232232        size_t component_size;
    233233        bool found = false;
     234        uint32_t inode;
    234235       
    235236        fs = eparent->instance->filesystem;
     
    254255       
    255256        while (it.current != NULL) {
     257                inode = ext2_directory_entry_ll_get_inode(it.current);
     258               
    256259                /* ignore empty directory entries */
    257                 if (it.current->inode != 0) {
     260                if (inode != 0) {
    258261                        name_size = ext2_directory_entry_ll_get_name_length(fs->superblock,
    259262                                it.current);
     
    262265                                    name_size) == 0) {
    263266                                rc = ext2fs_node_get_core(rfn, eparent->instance,
    264                                         it.current->inode);
     267                                        inode);
    265268                                if (rc != EOK) {
    266269                                        ext2_directory_iterator_fini(&it);
Note: See TracChangeset for help on using the changeset viewer.