summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
12ab490)
Thanks to Godmar Back for reporting the problem and for the fix.
/* Allocates CNT consecutive sectors from the free map and stores
the first into *SECTORP.
/* Allocates CNT consecutive sectors from the free map and stores
the first into *SECTORP.
- Returns true if successful, false if all sectors were
- available. */
+ Returns true if successful, false if not enough consecutive
+ sectors were available or if the free_map file could not be
+ written. */
bool
free_map_allocate (size_t cnt, block_sector_t *sectorp)
{
bool
free_map_allocate (size_t cnt, block_sector_t *sectorp)
{