Changeset 1196df6 in mainline for uspace/lib/ext4/libext4_filesystem.c


Ignore:
Timestamp:
2012-04-08T09:02:16Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6f41312
Parents:
3b5c119
Message:

extents: hotfix with writing to an existing empty file

File:
1 edited

Legend:

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

    r3b5c119 r1196df6  
    541541                                ext4_inode_has_flag(inode_ref->inode, EXT4_INODE_FLAG_EXTENTS)) {
    542542
    543                 rc = ext4_extent_release_blocks_from(inode_ref, old_blocks_count - diff_blocks_count);
     543                rc = ext4_extent_release_blocks_from(inode_ref,
     544                                old_blocks_count - diff_blocks_count);
    544545                if (rc != EOK) {
    545546                        return rc;
Note: See TracChangeset for help on using the changeset viewer.