Changeset 412f813 in mainline for uspace/lib/ext4/libext4_balloc.c
- Timestamp:
- 2012-02-28T19:18:39Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2ec667e
- Parents:
- 41998ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_balloc.c
r41998ec r412f813 242 242 } 243 243 244 int ext4_balloc_alloc_block(ext4_filesystem_t *fs, ext4_inode_ref_t *inode_ref, uint32_t *fblock) 244 int ext4_balloc_alloc_block(ext4_filesystem_t *fs, 245 ext4_inode_ref_t *inode_ref, uint32_t *fblock) 245 246 { 246 247 int rc; … … 462 463 463 464 // Update inode blocks (different block size!) count 465 464 466 uint64_t ino_blocks = ext4_inode_get_blocks_count(fs->superblock, inode_ref->inode); 465 467 ino_blocks += block_size / EXT4_INODE_BLOCK_SIZE;
Note:
See TracChangeset
for help on using the changeset viewer.