Changeset 2f591127 in mainline for uspace/lib/ext4/libext4_ialloc.c
- Timestamp:
- 2014-01-19T14:35:04Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5828554
- Parents:
- a159c6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_ialloc.c
ra159c6a r2f591127 204 204 rc = block_get(&bitmap_block, fs->device, bitmap_block_addr, 205 205 BLOCK_FLAGS_NONE); 206 if (rc != EOK) 206 if (rc != EOK) { 207 ext4_filesystem_put_block_group_ref(bg_ref); 207 208 return rc; 209 } 208 210 209 211 /* Try to allocate i-node in the bitmap */ … … 225 227 return rc; 226 228 229 bgid++; 227 230 continue; 228 231 } … … 232 235 233 236 rc = block_put(bitmap_block); 234 if (rc != EOK) 237 if (rc != EOK) { 238 ext4_filesystem_put_block_group_ref(bg_ref); 235 239 return rc; 240 } 236 241 237 242 /* Modify filesystem counters */
Note:
See TracChangeset
for help on using the changeset viewer.