Changeset 1d69c69 in mainline for uspace/lib/ext4/libext4_ialloc.c
- Timestamp:
- 2012-01-30T09:23:12Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 512a7df
- Parents:
- 7c506ced
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_ialloc.c
r7c506ced r1d69c69 139 139 while (bgid < bg_count) { 140 140 141 EXT4FS_DBG("testing bg \%u", bgid);142 143 141 ext4_block_group_ref_t *bg_ref; 144 142 rc = ext4_filesystem_get_block_group_ref(fs, bgid, &bg_ref); … … 169 167 rc = ext4_bitmap_find_free_bit_and_set( 170 168 bitmap_block->data, 0, &index_in_group, inodes_in_group); 171 // if (rc == ENOSPC) { 172 // block_put(bitmap_block); 173 // ext4_filesystem_put_block_group_ref(bg_ref); 174 // continue; 175 // } 169 170 // TODO check 171 if (rc == ENOSPC) { 172 block_put(bitmap_block); 173 ext4_filesystem_put_block_group_ref(bg_ref); 174 continue; 175 } 176 176 177 177 bitmap_block->dirty = true;
Note:
See TracChangeset
for help on using the changeset viewer.