BlockAllocator::InitializeAndClearBitmap() now also sets the used_blocks

field of the super block correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6399 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-01-28 23:12:59 +00:00
parent 3bb10b9323
commit 11805f2d85
1 changed files with 1 additions and 0 deletions

View File

@ -392,6 +392,7 @@ BlockAllocator::InitializeAndClearBitmap(Transaction &transaction)
FATAL(("could not allocate reserved space for block bitmap/log!\n"));
return B_ERROR;
}
fVolume->SuperBlock().used_blocks = HOST_ENDIAN_TO_BFS_INT64(reservedBlocks);
return B_OK;
}