Changeset fffb061 in mainline for uspace/lib/ext4/libext4_filesystem.c
- Timestamp:
- 2012-03-29T11:11:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 38384ae
- Parents:
- 47faec1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_filesystem.c
r47faec1 rfffb061 47 47 fs->device = service_id; 48 48 49 // TODO what does constant 2048 mean? 50 rc = block_init(EXCHANGE_SERIALIZE, fs->device, 2048); 49 rc = block_init(EXCHANGE_SERIALIZE, fs->device, 4096); 51 50 if (rc != EOK) { 52 51 return rc; … … 733 732 int rc; 734 733 735 736 /* TODO handle extents */737 738 739 734 uint32_t fblock; 735 736 /* TODO Handle extents */ 737 // if (ext4_superblock_has_feature_incompatible(fs->superblock, EXT4_FEATURE_INCOMPAT_EXTENTS) && 738 // ext4_inode_has_flag(inode_ref->inode, EXT4_INODE_FLAG_EXTENTS)) { 739 //// rc = ext4_extent_find_block(fs, inode_ref, iblock, ¤t_block); 740 //// 741 //// if (rc != EOK) { 742 //// return rc; 743 //// } 744 //// 745 //// *fblock = current_block; 746 // 747 // // TODO release block from extents (and return fblock) 748 // 749 // fblock = 0; 750 // 751 // if (fblock == 0) { 752 // return EOK; 753 // } 754 // 755 // return ext4_balloc_free_block(fs, inode_ref, fblock); 756 // 757 // return EOK; 758 // 759 // } 760 761 762 740 763 ext4_inode_t *inode = inode_ref->inode; 741 764
Note:
See TracChangeset
for help on using the changeset viewer.