Changeset b73530a in mainline for uspace/lib/ext4/libext4_filesystem.c
- Timestamp:
- 2012-04-08T14:01:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82cb6768
- Parents:
- 936132f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_filesystem.c
r936132f rb73530a 578 578 579 579 int ext4_filesystem_get_inode_data_block_index(ext4_inode_ref_t *inode_ref, 580 aoff64_t iblock, uint32_t *fblock)580 aoff64_t iblock, uint32_t *fblock) 581 581 { 582 582 int rc; 583 583 584 584 ext4_filesystem_t *fs = inode_ref->fs; 585 586 if (ext4_inode_get_size(fs->superblock, inode_ref->inode) == 0) { 587 *fblock = 0; 588 return EOK; 589 } 585 590 586 591 uint32_t current_block;
Note:
See TracChangeset
for help on using the changeset viewer.