Ignore:
Timestamp:
2012-04-07T13:22:50Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce6de59
Parents:
c6a44a3
Message:

Moved append block function because of more common usage in the next commits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_directory_index.c

    rc6a44a3 r5b16912  
    523523        }
    524524
    525         qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t), ext4_directory_dx_entry_comparator, NULL);
     525        qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t),
     526                        ext4_directory_dx_entry_comparator, NULL);
    526527
    527528        uint32_t new_fblock;
    528529        uint32_t new_iblock;
    529         rc = ext4_directory_append_block(inode_ref, &new_fblock, &new_iblock);
     530        rc = ext4_filesystem_append_inode_block(inode_ref, &new_fblock, &new_iblock);
    530531        if (rc != EOK) {
    531532                free(sort_array);
     
    651652                uint32_t new_fblock;
    652653                uint32_t new_iblock;
    653                 rc =  ext4_directory_append_block(inode_ref, &new_fblock, &new_iblock);
     654                rc =  ext4_filesystem_append_inode_block(
     655                                inode_ref, &new_fblock, &new_iblock);
    654656                if (rc != EOK) {
    655657                        return rc;
Note: See TracChangeset for help on using the changeset viewer.