Changeset e5a1ace3 in mainline for uspace/lib/ext4/libext4_ialloc.c
- Timestamp:
- 2013-11-28T20:40:38Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f63d9d
- Parents:
- 532f53d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_ialloc.c
r532f53d re5a1ace3 215 215 /* Block group has not any free i-node */ 216 216 if (rc == ENOSPC) { 217 block_put(bitmap_block); 218 ext4_filesystem_put_block_group_ref(bg_ref); 217 rc = block_put(bitmap_block); 218 if (rc != EOK) { 219 ext4_filesystem_put_block_group_ref(bg_ref); 220 return rc; 221 } 222 223 rc = ext4_filesystem_put_block_group_ref(bg_ref); 224 if (rc != EOK) 225 return rc; 226 219 227 continue; 220 228 } … … 272 280 273 281 /* Block group not modified, put it and jump to the next block group */ 274 ext4_filesystem_put_block_group_ref(bg_ref); 282 rc = ext4_filesystem_put_block_group_ref(bg_ref); 283 if (rc != EOK) 284 return rc; 285 275 286 ++bgid; 276 287 }
Note:
See TracChangeset
for help on using the changeset viewer.