Changeset d5a78e28 in mainline for uspace/lib/ext4/libext4_filesystem.c
- Timestamp:
- 2011-11-05T17:09:25Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3569955
- Parents:
- a9a0982
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_filesystem.c
ra9a0982 rd5a78e28 354 354 } 355 355 356 357 int ext4_filesystem_release_inode_block(ext4_filesystem_t *fs, ext4_inode_t *inode, uint32_t iblock) 358 { 359 int rc; 360 uint32_t fblock; 361 362 // TODO handle with extents 363 364 rc = ext4_filesystem_get_inode_data_block_index(fs, inode, iblock, &fblock); 365 if (rc != EOK) { 366 // TODO error 367 return rc; 368 } 369 370 // Sparse file 371 if (fblock == 0) { 372 373 // 374 return EOK; 375 } 376 377 378 // TODO vyhledat policko s ukazatelem a nastavit nulu 379 380 381 // TODO uvolnit blok v bitmape 382 383 // TODO return 384 385 386 return EOK; 387 } 388 389 356 390 /** 357 391 * @}
Note:
See TracChangeset
for help on using the changeset viewer.