mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-08 04:55:21 +00:00
mkfs was miscalculating the offset of the start of the free region in the center of blocks as it populated blocks with items. It was using the length of the free region as its offset in the block. To find the offset of the end of the free region in the block it has to be taken relative to the end of the item array. Signed-off-by: Zach Brown <zab@versity.com>