Changeset 7c3fb9b in mainline for uspace/lib/ext4
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- Location:
- uspace/lib/ext4/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/balloc.c
rfac0ac7 r7c3fb9b 214 214 215 215 if ((first + count) >= limit) { 216 /* This extent spans over 2 or more block groups, 216 /* 217 * This extent spans over 2 or more block groups, 217 218 * we'll break it into smaller parts. 218 219 */ … … 254 255 if (!ext4_superblock_has_feature_incompatible(sb, 255 256 EXT4_FEATURE_INCOMPAT_FLEX_BG)) { 256 /* If we are not using FLEX_BG, the first data block 257 /* 258 * If we are not using FLEX_BG, the first data block 257 259 * is always after the inode table. 258 260 */ -
uspace/lib/ext4/src/filesystem.c
rfac0ac7 r7c3fb9b 750 750 } else if (!ext4_superblock_has_feature_read_only(sb, 751 751 EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER)) { 752 /* Very old fs were all block groups have 752 /* 753 * Very old fs were all block groups have 753 754 * superblock and block descriptors backups. 754 755 */ … … 767 768 uint32_t block_size = ext4_superblock_get_block_size(sb); 768 769 769 /* Now we know that this block group has backups, 770 /* 771 * Now we know that this block group has backups, 770 772 * we have to compute how many blocks are reserved 771 773 * for them … … 773 775 774 776 if (idx == 0 && block_size == 1024) { 775 /* Special case for first group were the boot block 777 /* 778 * Special case for first group were the boot block 776 779 * resides 777 780 */ -
uspace/lib/ext4/src/ops.c
rfac0ac7 r7c3fb9b 146 146 } 147 147 148 /* Finalization of the driver.148 /** Finalization of the driver. 149 149 * 150 150 * This is only needed to destroy the hash table.
Note:
See TracChangeset
for help on using the changeset viewer.