mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
There were two separate issues at play which made this work incorrectly. The first was that the newly allocated block was incorrectly computed, because it was assumed that the cached block list was updated when a new cluster was allocated. The second issue was that there was an off-by-one in the loop that collected the newly allocated entries, which meant that the resulting list had an entry less than what was requested.
37 KiB
37 KiB